Course Bundler -

2025-08ยท
#Full Stack#Backend#Frontend

Scalable EdTech Backend Platform | Subscription-Based Course System | Node.js, Express, MongoDB, Razorpay | JWT Auth, Role-Based Access, Admin Dashboard | Production Deployed

Course Bundler -  screenshot 1
Technologies & Architecture
React
Node js
mongodb
css
payment integration

CourseBundler -- Backend ๐Ÿš€

A production-ready backend platform for creating, managing, and monetizing online courses.

This application allows content creators to publish courses and earn through a monthly subscription model, while students can subscribe, access lectures, and manage their learning journey.

Live Deployment: https://coursebundler-backend-er26.onrender.com


๐Ÿ“Œ Overview

CourseBundler is a subscription-based course platform backend built with a scalable architecture.

It supports:

  • User authentication & authorization
  • Admin content management
  • Course & lecture management
  • Subscription-based access control
  • Razorpay payment integration
  • Playlist system
  • Contact & course request management
  • Admin dashboard statistics

๐Ÿ—๏ธ Tech Stack

  • Node.js
  • Express.js
  • MongoDB
  • JWT Authentication
  • Razorpay Payment Gateway
  • Multer (File Uploads)
  • Cloud Storage (Media Handling)
  • MVC Architecture

๐Ÿ“‚ Folder Structure

config/
constants/
controllers/
lib/
middlewares/
models/
routes/
utils/
app.js
server.js
vercel.json

Architecture follows clean separation of concerns:

  • Controllers โ†’ Business logic\
  • Models โ†’ Database schemas\
  • Routes โ†’ API endpoints\
  • Middlewares โ†’ Authentication, authorization, validation\
  • Utils โ†’ Helper functions

๐Ÿ” Authentication & User Routes

POST /register
POST /login
GET /logout
GET /me
DELETE /me
PUT /changepassword
PUT /updateprofile
PUT /updateprofilepicture
POST /forgetpassword
PUT /resetpassword/:resetPasswordToken

Playlist Management:

POST /addToPlaylist
DELETE /removeFromPlaylist


๐Ÿ‘‘ Admin Routes

GET /admin/users
PUT /admin/user/:userId
DELETE /admin/user/:userId
GET /admin/contacts
GET /admin/requests
GET /admin/stats


๐Ÿ“š Course Routes

GET /all
POST /create
GET /:courseId
POST /:courseId
DELETE /:courseId
DELETE /lecture/:courseId

Features:

  • Course creation with thumbnail upload\
  • Add lectures (max 100MB video upload)\
  • Subscriber-only access to lectures\
  • Course deletion & lecture management

๐Ÿ’ณ Payment & Subscription Routes

GET /subscribe
POST /paymentverification
GET /razorpaykey
DELETE /subscribe/cancel

Features:

  • Razorpay subscription integration\
  • Secure payment verification\
  • Subscription cancellation\
  • Subscriber-based content authorization

๐Ÿ“ฉ Additional Features

Contact System:

POST /contact
POST /contact/:contactId
DELETE /contact/:contactId

Course Requests:

POST /courserequest
PUT /courserequest/:requestId
DELETE /courserequest/:requestId


๐Ÿ”’ Role-Based Access Control

Roles:

  • User\
  • Admin\
  • Subscriber

Middleware ensures:

  • JWT Authentication\
  • Role Authorization\
  • Subscriber-only content access

๐Ÿ“Š Admin Dashboard

Includes:

  • Total users\
  • Active subscriptions\
  • Revenue insights\
  • Platform activity metrics

๐ŸŽฏ Key Highlights

  • Subscription-based monetization model\
  • Secure authentication & authorization\
  • Scalable backend architecture\
  • Payment gateway integration\
  • Media upload handling\
  • Clean MVC structure\
  • Production deployment ready

๐Ÿš€ Ideal For

  • EdTech platforms\
  • Course creators\
  • Subscription-based SaaS platforms\
  • Backend portfolio showcase

๐Ÿ‘จโ€๐Ÿ’ป Author

Manish Patidar LinkedIn: https://www.linkedin.com/in/manish-patidar-726670213/

โ€œMan is made by his belief. As he believes, so he is.โ€_
โ€” Bhagavad Gita