NodeJs 10.23.3, ExpressJs 4.13.0 & MongoDB 3.4.19 based restful backend service.
Make sure MongoDB instance is running on the system.
-
Clone the project
$ git clone https://github.com/deepak41/nodejs-login-app.git
-
Go to root folder of the project and do:
$ sudo nano .env
and pasteNODE_ENV=development
in the file and save it. -
Then enter the following commands:
$ sudo npm install
$ sudo nodemon
The app should be up and running.