AI Sphere is a full-stack learning platform for managing and delivering AI courses.
It supports role-based access (Admin, Instructor, Student), course publishing, student enrollments, progress tracking, announcements, and discussion forums.
- Build and manage structured AI courses with modules and topics.
- Let students enroll, track module-level progress, and view their learning status.
- Provide a communication layer through announcements and course discussions.
- Enable admin-level visibility with user management and platform analytics.
- Authentication & Sessions: OAuth session exchange, secure cookie-based session handling.
- Role-Based Access: Admin, Instructor, and Student permissions.
- Course Management: Create courses, add modules, and publish/unpublish courses.
- Enrollment & Progress: Enroll students and store per-module completion state.
- Community Layer: Announcements, discussions, and threaded replies.
- Admin Controls: User role updates and dashboard analytics endpoints.
- Frontend: React (CRA + CRACO)
- Backend: FastAPI (Python)
- Database: MongoDB (Motor async driver)
- Auth: Session-based flow with role checks
- Auth:
/api/auth/* - Admin:
/api/admin/* - Courses:
/api/courses,/api/my-courses - Learning:
/api/enrollments,/api/progress/* - Community:
/api/announcements,/api/discussions/*
- Backend
cd backendpip install -r requirements.txtpython server.py
- Frontend
cd frontendnpm installnpm start