Install PM2
npm i pm2 -g
npm i
npm run start
- cors - Enable CORS with various options;
- dotenv - Module that loads environment variables from a
.env
file intoprocess.env
; - errorhandler - Development-only error handler middleware;
- express - Express framework;
- helmet - Makes your Express app secured;
- Joi - Object schema description language and validator for JavaScript objects;
- jsonwebtoken - An implementation of JSON Web Tokens;
- mongoose - Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment;
- morgan - HTTP request logger middleware for node.js;
- passport - Passport is Express-compatible authentication middleware for Node.js;
- passport-http-bearer - HTTP Bearer authentication strategy for Passport.