Typescript and MongoDB login template Based on Express.js and MongoDB
Requeriments NodeJS, last stable version is recommented. MongoDB database, it can be configured using https://cloud.mongodb.com/ free version.
Clone de repository, or download a ZIP file of it.
$ git clone https://github.com/riviski/NodeJS-template
Once you cloned this repository, in order to install dependencies, run the following command:
$ npm install
Then, create .env file based on template.env with the credentials required. In order to compile the source code, run the following command:
$ npm run build
Once compiled, you can start the server by running the following command:
$npm start