/Coursera-Backend

This repository is for course selling app backend

Primary LanguageJavaScript

Create a course selling app

  • initialize a new Node,js project
  • Add Express, jwt to it as dependency
  • Create index.js
  • Add routes skeleton for login, sign up. purchase a course, see course
  • Add routes for admin login, admin sign up, create a course, delete a course, add course content
  • Add middlewares for user and admin auth
  • Add a database (mongodb), use dotenv to store the database connection string
  • Define the schema for User, Admin, Course, Purchase
  • Complete the route for user login, sign up, purchase a course, see course ( Extra points - use express routing to better structure your routes)
  • Create the frontend