A simple e-commerce task: Used in the task:

  • Express, bcrypt, cloudinary, dotenv, joi, jsonwebtoken, mongoose, multer, nodemailer, slugify packages. Files in the task:
  • Model, Route, Controller, Middleware, Helpers, Config The model file contains: Product category, product, user, and inspection models. Route file contains: Admin, auth, category, product routes Controller file contains: Admin, auth, category, product controller The MiddleWare file contains : Auth In the Config file: Database, cloudinary, multer are connected