Parent Management & Parent Experience
A complete mobile-first parent portal — multi-child dashboard, attendance, homework, exams, fees, transport, certificates, growth passport, leave requests, document submission, and WhatsApp-first communication.
API Reference — Basic Tier
Routes are mounted at both /api/parent and /api/parents (same router), behindprotect + checkSubscriptionAccess. The entry marked GET★ below is guarded by authorize("admin", "super_admin") only — every other route allows parent (some also allow admin for support access).
Parent profile + linked children
Update name, phone, address
Full family view (parents + children + siblings)
Aggregated dashboard summary
List all linked children
School and class announcements
Update per-channel notification toggles
Admin/Super Admin only — school-wide parent engagement metrics
Course enrollment progress, quiz averages, study hours
Last 10 quiz attempts as an activity feed
Upcoming exams and assignment deadlines
Attendance records + summary
Homework with submission status
Exam schedule + results
Weekly timetable
Fee structure + payment history
Transport assignment
Earned certificates
Growth Passport (6 sections)
Submitted documents + status
Submit leave request
Leave request history
Submit document for verification
Basic Tier Features
Parent Profile & Family Dashboard
Basic- NexusOne Parent ID (NX-PAR-000001) — permanent, unique, never reused
- Multi-child support: one login links to all children, switch without logout
- Family profile: all linked parents and all children in a unified view
- Sibling relationships computed automatically from shared parent accounts
- Communication preferences: per-channel toggles (WhatsApp / Email / Push / SMS)
- Aggregated home dashboard: attendance %, pending homework, fee balance, announcements
Attendance View
Basic- Overall attendance percentage with present / absent / late / leave breakdown
- Per-course attendance records with date and session-level status
- Color-coded status badges for quick scanning
- Filterable by date range; refreshable in real time
Homework & Exams
Basic- Homework list with pending / submitted / overdue counts
- Teacher feedback and submission comments visible to parents
- Exam schedule with subject, date, max marks, and pass marks
- Published results with percentage, grade, and rank report
- Filter tabs: All / Upcoming / Results
Fee Dashboard
Basic- Fee structure overview with installment schedule
- Outstanding balance and next due date
- Full payment history and receipt downloads
- Payment proof submission (UPI screenshot + UTR number)
- Accountant verification workflow: Submitted → Verified → Receipt Issued
Transport View
Basic- Bus number, route name, driver name and contact
- Pickup and drop-off times with stop location
- Real-time GPS status (when enabled by school)
- Transport assignment change notification
Certificates & Growth Passport
Basic- Certificate list with certificate number, issue date, completion date, and grade
- One-tap download for certificate PDFs
- Growth Passport with 6 tabbed sections: Academics, Sports, Projects, Competitions, Leadership, Community Service
- Lifelong record — grows across academic years and survives promotions
Leave Requests
Basic- Submit leave requests from the app (medical, personal, emergency, sports, school activity, other)
- Multi-day date range selection with reason field
- Real-time status updates: Pending → Approved / Rejected / Cancelled
- Reviewer remarks shown on rejection
- Leave request history for all linked children
Document Submission
Basic- Upload 8 document types: Birth Certificate, TC, Aadhaar, Passport, Address Proof, Medical Record, Photograph, Custom
- Document goes into Pending state — requires admin verification
- Verification status: Pending / Verified / Rejected with admin notes
- View link for previously uploaded documents
Announcements & Notifications
Basic- School, class, event, and emergency announcements
- WhatsApp commands: ATTENDANCE, HOMEWORK, FEES, RESULTS, TRANSPORT, CERTIFICATES, HELP
- Push notifications for absence, homework, exam, fee, and leave events
- Email notifications for results, receipts, and important announcements
Parent Engagement Analytics (Admin-Facing)
Basic- GET /api/parent/analytics is Admin / Super Admin only — parents cannot call it themselves
- School-wide parent engagement counts: total parents, active parents, WhatsApp opt-in rate, recent logins
- Used by admin to prioritize outreach to disengaged families
- This is a school-engagement metric, not a personal analytics view for the parent
Elite Tier — AI Features
Elite OnlyWhatsApp Menu Commands + AI Fallback
- Structured commands are menu/keyword-driven, not NLP: numeric menu (1=notices, 2=fees, 3=attendance, 7=consents) plus keyword triggers (hi/hello/menu)
- Free-text messages that don't match any menu command fall through to handleAiFallback() — a Gemini-backed answer grounded in a live student snapshot
- AI fallback is gated to Elite-tier schools with GEMINI_API_KEY configured; otherwise falls back to a canned 'type hi or menu' prompt
- This is shared infrastructure with Chapter 15's Communication AI Suite, not a parent-module-only feature
AI Translation Engine (Chapter 15)
- POST /api/communication-ai/translate — shared translation engine documented fully in Chapter 15
- Real-time messages and on-demand notice translation auto-translate when sender/receiver preferredLanguage differ
- Supported languages include English, Hindi, Telugu, Tamil, Kannada, Malayalam, Marathi, Gujarati
AI Parent Assistant (Chapter 15)
- POST /api/communication-ai/parent-assistant — this is the same feature documented in Chapter 15's AI Communication Suite, not a separate parent-module backend
- Web UI: /dashboard/parent/ai-assistant · Mobile: (parent)/ai-assistant.tsx — both explicitly code-commented as the Chapter 15 AI Communication Suite feature
- Personalised, live-data-grounded answers about a child's attendance, fees, and recent notices — never invents figures
Security & Access Control
- All parent routes protected by JWT + protect + checkSubscriptionAccess middleware
- Per-route role guards vary: most allow parent (some also admin for support access); /analytics is admin/super_admin only
- isLinkedParent(req, studentId) helper enforces parent → child ownership on every child-scoped request
- Parents cannot view other students' data under any circumstance
- Document uploads go into Pending state; admin must verify
- Audit log written on every leave request and document submission
- WhatsApp identity resolved by registered mobile number only
- OTP-based mobile login with time-limited codes
Frontend Pages (Basic Tier)
Real pages under src/app/dashboard/parent/. Elite-tier pages (ai-assistant, copilot,storybook, handwriting) belong to Chapters 15, 22, 24, and 25 respectively and are cross-referenced, not duplicated, here.