
Tech Stack
Node.js
Express.js
MongoDB
Mongoose
JWT
Description
I built a complete backend API for a course-selling platform, enabling users to browse, preview, and purchase courses while admins can create and manage content securely.
It features role-based access (users vs admins), JWT authentication, MongoDB for data storage, and clean route separation—ideal as a foundation for full-stack e-learning apps.
- Implemented secure authentication & authorization using JWT for users and admins, with dedicated middleware for protected routes.
- Developed full CRUD for courses (create, list, preview) by admins, plus user purchase functionality and purchase history tracking.
- Structured with Express routes (user, admin, courses), Mongoose schemas (User, Admin, Course, Purchase), and easy local setup with Nodemon.
- Designed for scalability: RESTful endpoints, MongoDB integration, and clear config for JWT secrets & DB connection—ready for frontend pairing.
Page Info
Course Selling Backend
Robust Node.js + Express backend API for course-selling apps: secure auth (JWT), admin course CRUD, user purchases, and MongoDB persistence.
