Chapter 6Basic Tier

Student Lifecycle Management

Complete student journey management — from first enquiry to graduation and alumni — with a permanent NexusOne ID, document vault, discipline tracking, achievements, growth passport, and leave management.

State MachineNexusOne IDDocument VaultGrowth PassportLeave Management

API Reference

All routes below are mounted at /api/students (studentLifecycleRoutes.js), behind protect + checkSubscriptionAccess. A separate legacy path,/api/admin/add-student and /api/admin/bulk-add-students (mounted at /api/student-management), handles initial account creation and bulk enrollment — the lifecycle routes below manage the student after admission.

GET
/api/students

List students with filters

POST
/api/students

Create student (auto-generates NexusOne ID)

GET
/api/students/:id

Full student profile

PUT
/api/students/:id

Update student profile

POST
/api/students/:id/promote

Promote to next class

POST
/api/students/bulk/promote

Bulk promote a section

POST
/api/students/:id/transfer

Initiate transfer

POST
/api/students/:id/withdraw

Mark as withdrawn

POST
/api/students/:id/graduate

Mark as graduated

POST
/api/students/:id/convert-alumni

Convert to alumni

GET/POST
/api/students/:id/documents

Document vault

PATCH
/api/students/documents/:id/verify

Verify document

GET/POST
/api/students/:id/timeline

Student timeline

GET/POST
/api/students/:id/discipline

Discipline records

GET/POST
/api/students/:id/achievements

Achievements

GET/POST
/api/students/:id/growth-passport

Growth passport

GET/POST
/api/students/:id/leave-requests

Leave requests

PATCH
/api/students/leave-requests/:id/review

Review leave

GET
/api/students/analytics

Lifecycle analytics

POST
/api/students/:id/link-parent

Link parent user

POST
/api/students/:id/siblings

Link a sibling relationship

Features

Student State Machine & NexusOne ID

Basic
  • Permanent NexusOne Student ID: NX-STU-000001, generated once via a NexusIdCounter and never changes across promotions/transfers
  • Lifecycle states (User.status enum): applicant → enrolled → active → promoted → transferred → graduated → alumni, plus withdrawn, suspended, and detained branch states
  • One-action lifecycle transitions: Promote, Transfer, Withdraw, Graduate, Convert to Alumni — each is a dedicated POST endpoint
  • Bulk promotion for entire class sections with one action
  • Sibling linking via a dedicated endpoint, separate from initial admission
  • Transfer Certificate (TC) generation with TC number, issued date, destination school

Student Profile & Admissions

Basic
  • Comprehensive admission form: Personal, Academic, Address & Contact, Medical, Parent Linking
  • Auto-generated admission number and roll number assignment
  • Class, section, academic year, campus, and house assignment
  • Blood group, nationality, religion, category (General/OBC/SC/ST/EWS)
  • Sibling linking and multi-parent association
  • Tags for custom student grouping (sports, scholarship, etc.)

Medical Information

Basic
  • Allergy and chronic condition tracking
  • Vaccination records with dates and status
  • Emergency instructions and doctor contact details
  • Special needs: learning disabilities, physical disabilities, accommodations
  • Counselor notes and support plans

Document Vault

Basic
  • Secure upload for: Birth Certificate, Transfer Certificate, Aadhaar, Passport, Address Proof, Medical Records, Photographs
  • Document versioning — keep full upload history
  • Admin verification workflow: Pending → Verified (with verified-by tracking)
  • File metadata: MIME type, file size, public URL
  • Custom document type support

Student Timeline

Basic
  • Chronological event feed covering entire school journey
  • Event types: Admission, Promotion, Award, Disciplinary Action, Transfer, Medical Event, Certificate, Achievement, Club Join, Status Change
  • Custom timeline events with title, description, metadata
  • Visibility control per event (staff-only vs student-visible)
  • Recorded-by tracking for audit trail

Discipline Records

Basic
  • Incident types: Warning, Incident, Suspension, Fine, Counseling Referral
  • Severity levels: Low, Medium, High
  • Action taken and resolution tracking
  • Status lifecycle: Open → Resolved → Closed
  • Visibility controls (admin-only or shared with parent/student)
  • Date-indexed history per student

Achievements

Basic
  • Categories: Academic, Sports, Competition, Leadership, Activity, Community Service, Cultural, Other
  • Rank / position tracking and awarding authority
  • Certificate URL attachment
  • Highlight flag for top achievements shown on profile header
  • Academic year tagging for historical browsing

Growth Passport

Basic
  • Lifelong portfolio — one document per student, grows across years
  • Sections: Academics, Sports, Projects, Competitions, Leadership, Community Service, Certificates
  • Cumulative record survives promotions, transfers, and graduation
  • Shareable as a student achievement portfolio
  • Last-updated-by tracking for accountability

Leave Requests

Basic
  • Leave types: Medical, Personal, Emergency, Sports, School Activity, Other
  • Multi-day leave with from/to date range
  • Supporting document upload (e.g. medical certificate)
  • Admin approval workflow: Pending → Approved / Rejected
  • Reviewer remarks and attendance auto-update flag
  • Parent-initiated or admin-initiated leave requests

Student Analytics

Basic
  • Lifecycle status breakdown: Active, Enrolled, Promoted, Transferred, etc.
  • New admissions trend (last 6 months)
  • Class-wise student distribution
  • Category and gender distribution
  • Top achievements and recent discipline summaries

Frontend Pages

PathRoleDescription
/dashboard/admin/student-managementAdminStudent list — search, filter, enrollment counts
/dashboard/admin/student-management/createAdminNew student admission form
/dashboard/admin/student-management/[id]Admin9-tab profile: Overview, Academic, Medical, Documents, Timeline, Discipline, Achievements, Growth Passport, Leave Requests
/dashboard/admin/growth-passportAdminGrowth Passport management across students
/dashboard/admin/promotionsAdminBulk promotion workflow by section
/dashboard/admin/link-students-to-parentAdminLink/relink a parent account to one or more students
/dashboard/student/passportStudentOwn Growth Passport view
/dashboard/student/progressStudentOwn academic progress across enrolled courses

Mobile Screens

📱

(student)/index — Home dashboard: attendance summary, homework, results, timetable widgets

📱

(student)/passport + passport-timeline — Growth Passport and its timeline view

📱

(student)/promotion-status — Current lifecycle status and promotion history

📱

(student)/documents + document-request — Document vault and new document request

📱

(student)/achievements + badge-showcase — Achievements list and badge showcase

📱

(student)/goals — Personal goal tracking

📱

(student)/attendance, courses, quizzes, certificates, discussions, library, messages, notices, profile, engagement — core student app screens