Chapter 7Basic Tier+ Elite AI Features

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.

Multi-ChildWhatsApp CommandsLeave RequestsGrowth PassportFamily Dashboard

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).

GET
/api/parent/profile

Parent profile + linked children

PUT
/api/parent/profile

Update name, phone, address

GET
/api/parent/family

Full family view (parents + children + siblings)

GET
/api/parent/dashboard

Aggregated dashboard summary

GET
/api/parent/children

List all linked children

GET
/api/parent/announcements

School and class announcements

PUT
/api/parent/preferences

Update per-channel notification toggles

GET★
/api/parent/analytics

Admin/Super Admin only — school-wide parent engagement metrics

GET
/api/parent/student/:id/progress

Course enrollment progress, quiz averages, study hours

GET
/api/parent/student/:id/activities

Last 10 quiz attempts as an activity feed

GET
/api/parent/student/:id/events

Upcoming exams and assignment deadlines

GET
/api/parent/student/:id/attendance

Attendance records + summary

GET
/api/parent/student/:id/homework

Homework with submission status

GET
/api/parent/student/:id/exams

Exam schedule + results

GET
/api/parent/student/:id/timetable

Weekly timetable

GET
/api/parent/student/:id/fees

Fee structure + payment history

GET
/api/parent/student/:id/transport

Transport assignment

GET
/api/parent/student/:id/certificates

Earned certificates

GET
/api/parent/student/:id/growth-passport

Growth Passport (6 sections)

GET
/api/parent/student/:id/documents

Submitted documents + status

POST
/api/parent/leave-requests

Submit leave request

GET
/api/parent/leave-requests

Leave request history

POST
/api/parent/documents

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 Only

WhatsApp 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.

dashboard/parent (home with Quick Navigation grid)
dashboard/parent/attendance
dashboard/parent/homework
dashboard/parent/exams
dashboard/parent/certificates
dashboard/parent/growth-passport
dashboard/parent/leave-requests
dashboard/parent/documents
dashboard/parent/family
dashboard/parent/timetable
dashboard/parent/fees (+ fees/refunds)
dashboard/parent/transport
dashboard/parent/messages
dashboard/parent/notices
dashboard/parent/surveys
dashboard/parent/communication-preferences

Mobile Screens (Basic Tier)

(parent)/index + _layout — home dashboard + bottom tab nav
(parent)/attendance, homework, exams, certificates, growth-passport
(parent)/leave-requests, documents, timetable
(parent)/fees, fee-installment, fee-payments, fee-refunds, fee-reminders
(parent)/messages, notices, notifications
(parent)/reports, report-card, promotion-status
(parent)/consents, profile, preferences
(parent)/surveys, survey-detail
(parent)/transport, health, document-request, lms-progress