MCPcopy Index your code
hub / github.com/100xdevs-cohort-3/week-8-course-selling-project

github.com/100xdevs-cohort-3/week-8-course-selling-project @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
3 symbols 4 edges 8 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Create a course selling app

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

Good to haves - Use cookies instead of JWT for auth - Add a rate limiting middleware - Frontend in ejs (low pri) - Frontend in React

Core symbols most depended-on inside this repo

main
called by 1
index.js
adminMiddleware
called by 0
middleware/admin.js
userMiddleware
called by 0
middleware/user.js

Shape

Function 3

Languages

TypeScript100%

Modules by API surface

middleware/user.js1 symbols
middleware/admin.js1 symbols
index.js1 symbols

Datastores touched

adminCollection · 1 repos
courseCollection · 1 repos
purchaseCollection · 1 repos
userCollection · 1 repos
(mongodb)Database · 1 repos

For agents

$ claude mcp add week-8-course-selling-project \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page