How ritesh5001/nextgen-fusion-school works
NextGen Fusion School is a multi-tenant school-management ERP. Staff sign in, enter the authenticated application, and use its modules to manage academic records, fees, staffing, and school services; public routes also support school pages and admissions. The README documents PostgreSQL persistence, JWT authentication, and permission checks. The graph preserves major product areas visible in the route tree and source index; several domain-function implementations were not sampled, so uncertain calls to storage or external services are omitted.
Main entry points: app.tsx Authenticated app shell · auth-core.server.ts JWT authentication · auth.login.tsx Sign-in and reset · permissions.server.ts Permissions and plans
Components 20
Access and shell
- Sign-in and reset
src/routes/auth.login.tsx - JWT authentication
src/lib/auth-core.server.ts - Authenticated app shell
src/routes/app.tsx - Permissions and plans
src/lib/permissions.server.ts - PostgreSQL data
src/db/schema.ts
Academic operations
- Student records
src/lib/students.functions.ts - Admissions
src/lib/admissions.functions.ts - Academic years and subjects
src/lib/academic.functions.ts - Attendance
src/lib/attendance.functions.ts - Exams and marks
src/lib/marks.functions.ts
School administration
- Fees and accounts
src/lib/fees.functions.ts - HR and payroll
src/lib/hrm.functions.ts - Library services
src/lib/library.functions.ts - Hostel services
src/lib/hostel.functions.ts
School platform
- School website manager
src/lib/website.functions.ts - Public school pages
src/routes/school.$slug.tsx - School portal
src/routes/portal.tsx - Reports and analytics
src/lib/reports.functions.ts - Notices and notifications
src/lib/notifications.functions.ts
Other components
- School staff
Connections 17
- School staff → Sign-in and reset: signs in
README.md - Sign-in and reset → JWT authentication: authenticates
- JWT authentication → Authenticated app shell: opens session
- Authenticated app shell → Permissions and plans: checks access
README.md - Permissions and plans → JWT authentication: validates JWT
src/lib/auth-middleware.server.ts - Authenticated app shell → Fees and accounts: routes to
- Authenticated app shell → HR and payroll: routes to
- Authenticated app shell → Library services: routes to
- Authenticated app shell → Hostel services: routes to
- Authenticated app shell → Student records: routes to
src/routes/app.tsx - Authenticated app shell → School website manager: loads site metadata
src/routes/app.tsx - School website manager → Public school pages: links to preview
- School staff → School portal: uses
- Authenticated app shell → Reports and analytics: routes to
- Authenticated app shell → Notices and notifications: routes to
- Student records → PostgreSQL data: persists records
- Fees and accounts → PostgreSQL data: persists finance data