You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A production-ready, modular REST API for a full-featured online learning platform — built with Express 5, Prisma 7, PostgreSQL, and Advanced AI Orchestration.
✨ Features
Feature
Description
🤖 AI Chat (RAG)
Context-aware learning assistant using LangChain & OpenRouter
npx prisma db push # Push schema to database
npx prisma generate # Generate Prisma Client
4. Run Development Server
npm run dev
🧠 AI Orchestration (LangChain)
The backend uses LangChain to orchestrate AI workflows:
Retrieval Augmented Generation (RAG): The AI Mentor fetches relevant course/lesson data from PostgreSQL before generating responses.
OpenRouter Integration: Flexible LLM support (Gemma, Llama 3, etc.) via a single API.
Strict Output Parsing: Quizzes are generated as structured JSON for immediate consumption by the frontend.
🧪 Tech Stack
Technology
Purpose
Express 5
HTTP framework
LangChain
AI Orchestration & RAG
OpenRouter
AI LLM Provider
Prisma 7
ORM + migrations
PostgreSQL
Relational database
Stripe
Payment processing
Zod
Runtime validation
TypeScript 5.9
Type safety
Built with ❤️ for CourseMaster
About
Course Master is a modern full-stack learning management system (LMS) designed to provide a seamless online education experience for students, instructors, and administrators. The platform allows users to enroll in courses, track progress, manage learning materials