Tech=>Node.js
Database=>Mongodb
ODM-library=>Mongooes
Database_backup=>src/db_backup
Designed a Project to get an idea regarding aggregation pipeline method in mongoose in nodejs with REST API using Eslint and airbnb base Along with Joi backend validator followed by MVC structure with separate files for controller and route which furnishes knowledge about the advanced query to retrieve data from database
Aggregate methods:
https://docs.mongodb.com/manual/reference/operator/aggregation-pipeline/#alphabetical-listing-of-stages
Operator information:
https://docs.mongodb.com/manual/reference/operator/aggregation/
JWT:
https://www.npmjs.com/package/jsonwebtoken
express @4.17.1
mongoose @5.13.2
jsonwebtoken @8.5.1
Joi @17.4.1
dotenv @10.0.0
eslint @7.31.0
eslint-config-airbnb-base @14.2.1
eslint-plugin-import @2.23.4
Open the directory and install all the required modules by typing the following command
npm i
After module installation just simply typewrite the following code to start the node server
npm start
To Generate your token go to the browser/postman and paste the below link to generate the Token
127.0.0.1:8081/generateToken