This is an example for developing RESTful Apis for your application. MongoDB - Database to store user details, Node.js - To execute Javascript code Express - Server
Encrypt passowords before saving it to database using bcrypt Generate token of your authenticated users using JWT Get user details with only authenticated token using passport
Dependencies - bcrypt, body-parser, connect-mongo, cors, cross-env, dotenv, express, jwt-simple, mongoose, morgan, nodemon, passport, passport-jwt.
Example contain - Adding users using email and password, Authenticating Existing users, Getting user details using unique authentication token.
- MongoDB Atlas Account