Demo Project of Node, Express, MongoDB with Auth and validation
This is a demo application which include Node, Express and mongoDB for basic operation and auth(token)
Below are supporting libraries
- "@hapi/joi": For data validation
- "bcryptjs": For securing password
- "dotenv": For creating env file for secure keys like secret key and DB cred
- "jsonwebtoken": For generate token and validate token
- "mongoose": For perform MongoDB operation
- "nodemon": For run/maintain server
- "axios": For make HTTP request
Below are function included in project
- Register/Create user
- Get All user list
- Delete User
- Update User
- Get Single User
- Login user and return Token
- Added 2FA using sms
In addition I also added schema validation .
NOTE: This is my first project of Node Express MongoDB
TODO: oAuth 2.0(may be), eslint setup Feature TODO : User Subscription Management, change Password
Thanks