Basic express server using mongoDB to register users and allow login. Password is hashed using bcrypt.
- MongoDB
- NodeJS
Run your mongo server on localhost
at 27017
, if not then make changes to port and url accordingly in config.js
.
First, Clone this repository Them, run the following
cd express-login-register
npm install
npm start
You can also use yarn
instead of npm
cd express-login-register
yarn
yarn start
In order to start in development mode (DEBUG mode) start the application with
npm startDev
OR
yarn startDev