Skip to content

Latest commit

 

History

History
51 lines (49 loc) · 1.58 KB

toto.md

File metadata and controls

51 lines (49 loc) · 1.58 KB

Steps to compete this project

  1. Create Advance Folder structure ✅

  2. Create readme file ✅

  3. npm init ✅

  4. change package.js -> type to module ✅

  5. git init --> git branch -m main ✅

  6. create .gitignore file ✅

  7. add node_modules folder into .gitignore file ✅

  8. npm i nodemon -D ✅

  9. add start script --> nodemon index.js ✅

  10. npm i express ✅

  11. install & configure dotenv package --> npm i dotenv ✅

  12. write server start code to listen request ✅

  13. List Feature in Habit tracker

    • Authentication and Authorization ✅
    • Doctor ✅
      • SignUp
      • Login
      • Update User
      • Reset Password
      • Delete User (delete login from portal)
    • Patient (will be handled by doctor only) ✅
      • Register patient by mobile number (not a login feature)
      • Crate report
      • Update report
      • View report
      • get all report or particular patient
      • get all report based on status
  14. Install packages ✅

    • npm i mongoose
    • npm i connect-mongo
    • npm i nodemailer
    • npm i express-session
    • npm i cookie-parser
    • npm i bcrypt
    • npm i express-async-handler
    • npm i express-validator
    • npm i jsonwebtoken
    • npm i helmet
    • npm i express-rate-limit
    • npm i compression
    • npm i winston
    • npm i swagger-ui-express
  15. Configure send email function ✅

  16. Authentication an Authorization ✅

  17. Crate global error handler ✅

  18. Create Global not found handler for invalid api end points ✅

  19. Configure logger, one for request and one for any kind of error ✅