1. Http Essential
  2. Postman client
  3. Restful Api
  4. Express Framework
  5. Routing & Controller
  6. MongoDB Atlas & Compass
  7. Mongoose ODM
  8. Advance query ( Pagination and filter etc)
  9. Model & Relationships
  10. Middleware ( Express & Mongoose)
  11. MongoDB Geospatial Index/ GeoJSON
  12. Geocoding
  13. Custom Error Handling
  14. User Roles and Permission
  15. Aggregation
  16. Photo Upload
  17. Authentication with JWT & Cookies
  18. Emailing Password Reset Tokens
  19. Custom Database seeder Using JSON files
  20. Password and Token Hashing
  21. Security: NO SQL Injection XSS, etc
  22. Creating Documentation
  23. Deployment with PM2, NGINX, SSL

Server Run

nodemon server.js

Notes

  1. app -Library express
  2. route
  3. Controller
  4. Middleware(Morgon)
  5. Database mongo db mongodb.com cluster user for configuration Network access-- compass for db
  6. monngoose js
  7. Colors Lib
  8. Models - DB complex, min max type, maxlength required with message validation match
  9. geo json lib
  10. Manage preset in header in postman
  11. Error Handling Custom Error, Mongoose error, async, await
  12. Middleware node-geocoder -map quest
  13. GEOCODER_PROVIDER=mapquest and GEOCODER_API_KEY=
  14. Query - sort pagination , select skip
  15. node seeder -d for deleting and -i for insert
  16. Complex nesting routing
  17. Photo upload using https://www.npmjs.com/package/express-fileupload
  18. https://www.pexels.com/search/trekking/
  19. Added advance Results
  20. npm i jsonwebtoken bcryptjs
  21. Added user model and password hashing
  22. Added sign with token
  23. Protect route with token
  24. Create route to get current user
  25. Setting env variable in postman pm.environment.set("token", pm.response.json().token)
  26. Reset password with email using https://www.nodemailer.com/
  27. https://blog.websecurify.com/2014/08/hacking-nodejs-and-mongodb
  28. npm i express-mongo-sanitize
  29. npm i helmet
  30. npm install xss-clean --save
  31. npm i express-rate-limit
  32. npm i hpp -http param pollution attacks
  33. npm cors
  34. https://github.com/thedevsaddam/docgen
  35. api document using postman
  36. docgen build -i ....path of postaman export file
  37. docgen build -i dev.postman_collection.json -o index.httml
  38. pm2 install - npm install pm2 -g
  39. https://pm2.keymetrics.io/

sudo ufw enable ufw allow https ssh and http