Learnly
CompletedFull-stack course platform where instructors sell video courses and students learn through secure, enrollment-gated streaming, with Razorpay payments.

About this project
Overview
Learnly (formerly LearnDeck) is a full-stack Learning Management System where instructors publish video courses and students discover, buy and watch them. It has three roles, real payments, and protected video delivery, packaged as a single Docker image.
Features
Students
- Browse, search, filter and sort a paginated course catalog
- Free-preview lectures before buying
- Pay with Razorpay; free courses enroll instantly
- Course player with uploaded videos or YouTube lectures
- Profile with avatar upload, password change and account deletion
Instructors
- Create, edit, publish and delete courses with thumbnails
- Upload lecture videos (stored on ImageKit) or link external videos
- Dashboard with publish toggle, draft filter, search and infinite scroll
Accounts
- Email/password signup with email verification
- Google sign-in
- Forgot/reset password flow
- Role-based access (student, instructor, admin)
Engineering highlights
- Protected paid content: lecture videos are served only through enrollment-checked endpoints as signed ImageKit URLs that expire in 1 hour; public pages never expose locked video URLs.
- Verified payments: Razorpay checkout and webhooks are both verified with HMAC-SHA256 and constant-time comparison; the webhook is idempotent, so retries never double-enroll.
- Consistent data: enrollments and cascading deletes run inside MongoDB transactions.
- Real logout: JWTs carry a unique ID that is blacklisted in Redis for the token's remaining lifetime.
- Hardening: Zod validation, Helmet, rate-limited auth routes, httpOnly cookies, escaped search input.
- Deployment: multi-stage Docker build serving the React app from Express, with health checks for AWS ECS behind an ALB.
Tech stack
React 19, Vite, Redux Toolkit, Tailwind CSS · Node.js, Express 5, MongoDB (Mongoose), Redis · Razorpay, ImageKit, Google OAuth, Nodemailer · Docker
What's next
Progress tracking, an admin panel, a migration to a full-stack Next.js app, and a multi-tenant version where anyone can open their own course store.
Screenshots
4 images · click to enlarge
Tech used
Let's talk
Have a project in mind or just want to say hi? I'd love to hear from you.
© 2026 Tejas Wasnik.