An AI-powered interactive learning platform for SQL, MongoDB, programming languages, and more. It delivers adaptive learning paths, real-time feedback, and instructor tooling.
- AI-generated slides, quizzes, and hints with multiple LLM providers
- Interactive learning sessions with progress tracking
- Admin dashboard for course and learner management
- YAML/JSON course definitions with versioning
- Caching and rate limiting for predictable API usage
- Backend: FastAPI, SQLAlchemy 2, PostgreSQL, Redis, LangChain
- Frontend: React 18, Vite, TailwindCSS, Zustand, Monaco Editor
- Infrastructure: Docker, structured logging, auto-generated API docs
- Python 3.10+
- Node.js 18+
- PostgreSQL 13+
- Redis 6+
- LLM API keys (OpenAI, Anthropic, or Groq)
Automated setup for backend and frontend:
git clone https://github.com/yourusername/learning-platform.git
cd learning-platform
chmod +x setup.sh
./setup.shStart both backend and frontend:
chmod +x start.sh
./start.shRun separately if needed:
# Backend
cd backend
source venv/bin/activate
uvicorn app.main:app --reload --host 0.0.0.0 --port 8000
# Frontend
cd frontend
npm run devEndpoints:
- Frontend: http://localhost:5173
- Backend API: http://localhost:8000
- API Docs: http://localhost:8000/docs
- ReDoc: http://localhost:8000/redoc
Copy and edit the backend environment file:
cp backend/.env.example backend/.envKey variables:
LLM_PROVIDER(openai, anthropic, groq)OPENAI_API_KEY/ANTHROPIC_API_KEY/GROQ_API_KEYDATABASE_URLREDIS_URLSECRET_KEY
learning-platform/
├── backend/ # FastAPI backend
├── frontend/ # React + Vite frontend
├── docs/ # Documentation
├── setup.sh # Setup script
├── start.sh # Start script
└── README.md
See the interactive API documentation at http://localhost:8000/docs.
cd backend
source venv/bin/activate
pytest -vPlease see CONTRIBUTING.md.
MIT. See LICENSE.