All projects
2026Full Stack

School Management System

Client

Overview

A school management system for Living Stone Academy, Nepalgunj: a Node.js, Express 5 and TypeScript REST API over MongoDB with JWT access/refresh authentication and role-based access for admins, teachers and parents, paired with a React Native (Expo) app that puts attendance, homework, marksheets, fees and announcements in teachers' and parents' hands. The public school website was built with two teammates on React, Tailwind CSS, TypeScript and Supabase.

Role

Backend and mobile app -- client website with two teammates

Challenges

The school already ran on records that have to agree with each other. A student's fee balance, attendance percentage, marksheet and a teacher's salary deduction all derive from the same enrolment and class data, so one stale or duplicated write surfaces as a wrong number on a report a parent is holding. The API also had to stay usable on low-end Android phones over unreliable connections, and it could not let one family see another family's records. Most of the system's weight sits in those two constraints: consistency across 32 modules that write to the same student record, and authorization that holds on every route rather than only on the screens that happen to hide a button.

Solutions

The API is a modular layered Express 5 codebase -- routes, middleware, controllers, services and models -- split into 32 domain modules over MongoDB, with Mongoose schemas and the Counter pattern assigning sequential student IDs. Authentication is JWT access/refresh backed by server-side sessions, and every route is gated by role: admin, teacher, parent and staff. Twenty specialised Redis-backed rate limiters, Helmet, Zod validation on the request boundary and a system audit log cover the abuse and correctness cases. Marksheets and ID cards are printed server-side with Puppeteer, push notifications go out through Firebase Cloud Messaging, email through Resend, and uploads through Cloudinary and S3. Vitest and Supertest suites run in GitHub Actions next to tsc --noEmit, and CD builds and pushes the Docker image. The Expo app is Expo Router and TypeScript with TanStack Query for server state, Zustand for local state, NativeWind for styling and Firebase messaging for notifications, shipped as a native Android build.

Built with

core
Express 5
MongoDB
Redis
React Native
Expo
Firebase Cloud Messaging
Node.js
TypeScript
Mongoose

16 in this project · 9 on the orbit, the rest listed alongside