$ git clone https://github.com/kdstrides/node-express-boilerplat.git
$ npm i
$ nodemon/node app.jsIt includes below APis,
- Login
- Create sample user
- Check user is loggedIn
- Forgot password email with reset link and token
- Check if reset token is valid
- Reset password
- Logout
Run npm install and node/nodemon app.js to start script. Make sure MongoDB is running.
All configuration is done inside /config/config.js file.