chore: remove parent dashboard UI and update PRD tags
This commit is contained in:
42
PRD.md
42
PRD.md
@@ -78,40 +78,34 @@ The stack is orchestrated using `docker-compose.yml` and consists of 8 distinct
|
||||
The backend exposes the following RESTful APIs powered by FastAPI:
|
||||
|
||||
**Authentication**
|
||||
- `POST /api/auth/register` - Create new student account
|
||||
- `POST /api/auth/login` - Authenticate & receive JWT session
|
||||
- `POST /api/auth/forgot-password` - Request password reset link
|
||||
- `POST /api/auth/otp-request` / `otp-verify` - Phone number authentication
|
||||
- `[Built] POST /api/auth/register` - Create new student account
|
||||
- `[Built] POST /api/auth/login` - Authenticate & receive JWT session
|
||||
- `[Built] POST /api/auth/forgot-password` - Request password reset link
|
||||
- `[Planned] POST /api/auth/otp-request` / `otp-verify` - Phone number authentication
|
||||
|
||||
**Users & Profiles**
|
||||
- `GET/PUT /api/users/{id}` - Fetch/update user profiles and settings
|
||||
- `POST /api/users/{id}/avatar` - Upload profile picture to MinIO
|
||||
- `GET /api/users/{id}/attempts` - Retrieve past test history
|
||||
- `[Built] GET/PUT /api/users/{id}` - Fetch/update user profiles and settings
|
||||
- `[Planned] POST /api/users/{id}/avatar` - Upload profile picture to MinIO
|
||||
- `[Built] GET /api/users/{id}/attempts` - Retrieve past test history
|
||||
|
||||
**CBT Engine**
|
||||
- `GET /api/tests` - List active Mock Tests, PYQs, and Weekly Tests
|
||||
- `GET /api/tests/{id}/questions` - Fetch test sections and questions
|
||||
- `POST /api/attempts/submit` - Auto-grade and record a CBT session
|
||||
- `[Built] GET /api/tests` - List active Mock Tests, PYQs, and Weekly Tests
|
||||
- `[Built] GET /api/tests/{id}/questions` - Fetch test sections and questions
|
||||
- `[Built] POST /api/attempts/submit` - Auto-grade and record a CBT session
|
||||
|
||||
**AI Coach**
|
||||
- `GET /api/ai-coach/readiness/{id}` - Predict JEE/NEET rank and college
|
||||
- `GET /api/ai-coach/study-plan/today` - Generate daily tasks
|
||||
- `GET /api/mistakes/today` - Fetch spaced repetition flashcards (SM-2 algorithm)
|
||||
- `POST /api/mistakes/review` - Update mistake mastery based on recall
|
||||
- `POST /api/ai-coach/chat/stream` - AI Tutor socket connection
|
||||
- `[Planned] GET /api/ai-coach/readiness/{id}` - Predict JEE/NEET rank and college
|
||||
- `[Planned] GET /api/ai-coach/study-plan/today` - Generate daily tasks
|
||||
- `[Planned] GET /api/mistakes/today` - Fetch spaced repetition flashcards (SM-2 algorithm)
|
||||
- `[Planned] POST /api/mistakes/review` - Update mistake mastery based on recall
|
||||
- `[Built] POST /api/ai-coach/chat/stream` - AI Tutor socket connection
|
||||
|
||||
**Subscription & Billing (Gateway Agnostic)**
|
||||
- `POST /api/billing/create-order` - Generate payment gateway order IDs
|
||||
- `POST /api/billing/verify-payment` - Cryptographically verify webhooks and upgrade tier
|
||||
- `[Built] POST /api/billing/create-order` - Generate payment gateway order IDs
|
||||
- `[Built] POST /api/billing/verify-payment` - Cryptographically verify webhooks and upgrade tier
|
||||
|
||||
**Admin System**
|
||||
- `GET/POST/PUT/DELETE /api/admin/*` - Full CRUD for Tests, Users, Coupons, and System Settings
|
||||
|
||||
**Parent System (Planned / UI Mocked)**
|
||||
- *Note: The UI exists at `/parent/dashboard` but currently uses fallback mock data. Backend APIs are not yet built.*
|
||||
- `[Planned] POST /api/parent/register` - Parent account creation
|
||||
- `[Planned] POST /api/parent/link-student` - Link student to parent dashboard
|
||||
- `[Planned] GET /api/parent/{parent_id}/dashboard/{student_id}` - Fetch real-time student analytics
|
||||
- `[Built] GET/POST/PUT/DELETE /api/admin/*` - Full CRUD for Tests, Users, Coupons, and System Settings
|
||||
|
||||
## 5. Technology Stack Summary
|
||||
- **Frontend:** Next.js 14/15, TailwindCSS, Framer Motion, Lucide Icons, Shadcn UI.
|
||||
|
||||
Reference in New Issue
Block a user