HomeCase studiesMulti-Campus K-12 School Management Software with Offline-Resilient...

Case study · Auckland, New Zealand

Multi-Campus K-12 School Management Software with Offline-Resilient Attendance and Guardian Workflows

K-12 Campus & Parent Administration

K-12 schools run on tight morning rhythms where homeroom roll call, custody-restricted pickup alerts, relief-teacher scheduling, and termly report cards intersect simultaneously. We built a multi-campus school management platform using Java, Spring Boot, and React that unifies student records, pastoral care, timetabling, and parent communication inside a single domain-driven backend. Fine-grained guardian relationship rules enforce legal custody boundaries across every message and pickup check, while React interfaces keep classroom roll call responsive even in patchy gymnasium or sports-field Wi-Fi.

Industry
K-12 Campus & Parent Administration
Solution
A unified K-12 campus administration and parent-engagement web platform powered by Java Spring Boot domain services, relational storage, and a responsive React workspace.
Platforms
Web & API
Stack
Java · Spring Boot · React · TypeScript · PostgreSQL · Flyway
Location
Auckland, New Zealand · delivered remotely
Role
Engineering, with the team behind for mobile and QA

Delivered remotely for a business based in Auckland, New Zealand. Names withheld by agreement.

Project Overview

A K-12 school's operational clock compresses its hardest workload into two narrow windows: 08:45–09:15 every morning when homeroom teachers submit attendance and front offices chase unexplained absences, and the final two weeks of each term when every educator compiles narrative report cards simultaneously. School networks in Auckland needed software that respected those real-world rhythms rather than forcing staff to juggle disconnected spreadsheets, legacy desktop registers, and ad-hoc parent messaging apps.

We engineered a comprehensive school management platform on Java, Spring Boot, and React. Designed as a well-structured modular monolith, the platform unifies student demographics, custody-aware guardian portals, daily attendance, timetable substitution, pastoral incident logs, and achievement reporting inside a strongly typed, auditable system.

Campus Administration Gaps

District principals and office managers identified four recurring breakdowns in older school suites:

  • Custody & privacy blind spots: Generic parent portals sent blanket announcements or shared medical flags with restricted contacts because relationships were modeled as flat email lists.
  • Morning office bottlenecks: Unexplained-absence alerts failed to account for sickbay sign-ins or music-lesson withdrawals recorded minutes earlier by front-desk staff.
  • Painful relief-teacher coordination: When three teachers called in sick at 07:00, finding qualified cover without double-booking labs required frantic manual wall-chart edits.
  • Error-prone statutory roll returns: Generating Ministry attendance and roll-return exports demanded days of manual data-cleaning scripts before submission deadlines.

Architectural Strategy

We chose strict domain boundaries inside a Spring Boot modular monolith paired with a task-oriented React interface. Rather than splitting student records, attendance, and grading into premature network-bound microservices that complicate cross-domain transactions, Java packages enforce clear module APIs while sharing ACID PostgreSQL transactions.

Every interaction revolves around temporal accuracy: student enrollments, homeroom assignments, timetable cycles, and guardian custody flags carry effective date ranges. Historical report cards and statutory roll returns remain reproducible years later even after students graduate or shift classrooms.

Core Capabilities

  • Instant Roll Call & Unexplained-Absence Reconciliation: Teachers mark presence in seconds from React, merging live front-office late slips, sickbay check-ins, and excursion lists before triggering parent notifications.
  • Custody-Aware Guardian Portal: Parents view attendance summaries, approve digital excursion consent slips, book parent-teacher conferences, and access term reports strictly scoped by legal relationship permissions.
  • Timetable & Daily Relief Planner: Highlights free rooms, subject-qualified cover staff, and split-cohort conflicts so coordinators resolve morning teacher absences smoothly.
  • Pastoral Care & Medical Action Plans: Separates sensitive counselor observations and allergy alerts from general academic records using granular staff role gates.
  • Term Reporting & Statutory Exports: Validates missing teacher comments ahead of print deadlines, compiles branded PDF report packs, and formats clean Ministry compliance returns.

Technical Architecture

React renders role-tailored views for educators, office staff, and guardians, authenticating via Keycloak OIDC tokens against stateless Spring Boot REST controllers. Spring Data JPA repositories enforce tenant context filters, while Hibernate Envers records full revision history on sensitive tables such as medical flags, grades, and custody permissions. Redis accelerates read-heavy active timetable lookups and coordinates asynchronous notification and PDF rendering pipelines.

Flow: React Teacher/Guardian UI → Keycloak OIDC → Spring Boot REST Controllers & Security Guards → Domain Modules (Attendance, Timetable, Pastoral, Grading) → PostgreSQL + Envers Audit Ledger → Redis Event Dispatch → Notification & PDF Workers

For relief-teacher allocation and term report batch runs, heavy computations execute on dedicated Spring worker threads decoupled from interactive classroom roll-call endpoints.

Technology Stack

Category Technology detail
Backend Platform Java 21 with Spring Boot 3 modular domain services and strict DTO boundaries
Frontend Portal React + TypeScript SPA with offline-capable roll call and parent communication views
Relational Store PostgreSQL with row-level school scoping and Flyway versioned schema migrations
Identity & SSO Keycloak OIDC supporting staff Google/Microsoft logins and guardian MFA
Cache & Events Redis caching active timetables and dispatching absence-notification alerts
Reporting Engine Java Jasper/PDF rendering workers compiling end-of-term student achievement reports
Constraint Solver Java scheduling module resolving room capacities, teacher loads, and split electives
Statutory Exports Schema-validated XML/CSV pipelines for Ministry of Education roll returns
Audit & Compliance Hibernate Envers revision tables tracking custody, medical, and grade changes

Engineering Trade-offs & Solutions

Engineering Challenge Solution & Trade-off
Premature microservices would complicate atomic attendance-and-pastoral workflows Built a Spring Boot modular monolith with package-level boundaries and Flyway migrations, simplifying ACID joins while keeping modules cleanly extractable later.
Offline classroom marks conflicted with front-office late sign-ins Applied deterministic event-precedence rules (office physical sign-in overrides unverified class absence) and surfaced conflict flags cleanly for office confirmation.
Broad parent-portal queries risked exposing restricted pastoral or custody data Enforced attribute-based Spring Security checks against directional guardian relationship edges and split sensitive pastoral notes into separate projection endpoints.
End-of-term PDF generation for whole campuses spiked JVM memory Streamed report compilation through bounded worker queues using paginated data fetches and chunked template rendering to keep API latency untouched.

Security & Student Data Protection

Student records encompass minors' health conditions, learning support plans, custody court orders, and disciplinary notes. Keycloak enforces MFA for staff accounts and separates guardian authentication flows, while Spring Security verifies both campus tenant membership and role-scoped data projections on every endpoint.

Sensitive pastoral counseling entries use separate permission authorities invisible even to general teaching staff unless explicitly shared on a need-to-know basis. Hibernate Envers preserves tamper-evident change histories showing exactly who modified an attendance code, grade entry, or pickup authorization and when.

Performance & Scale

School traffic is intensely spiky rather than evenly distributed across 24 hours. Pre-warming active daily timetables and class rosters in Redis before the first bell eliminates heavy relational joins during morning roll call.

On report-card release afternoons, when thousands of guardians open links within minutes of an email blast, pre-rendered PDF artifacts served via signed object-storage URLs shield the Spring Boot API and PostgreSQL primary from download storms.

Operational Outcomes

Consolidating daily campus operations and parent communications onto a cohesive Java, Spring Boot, and React stack gave schools predictable control over their busiest hours:

  • Calmer morning office routines: Real-time merging of classroom rolls, sickbay logs, and excursion rosters prevents false-alarm absence texts to parents.
  • Confident safeguarding compliance: Explicit custody-edge enforcement ensures every staff member and parent sees strictly authorized student details.
  • Faster relief-cover allocation: Conflict-checked teacher and room availability replaces ad-hoc morning phone trees.
  • Clean end-of-term reporting: Pre-submission completeness checks and statutory export validators turn end-of-term administration into a repeatable workflow.

01 — Questions

asked about this kind of project

How does the system enforce complex family custody and non-contact restrictions across portals?

Guardian access is modeled via directional relationship edges storing explicit flags for legal custody, emergency pickup, financial billing, and restricted contact. Spring Boot security evaluators check these edges on every student profile query, absence notice, and report-card download so non-custodial accounts never receive unauthorized data.

What happens when teachers mark morning roll call in school halls or outdoor fields without Wi-Fi?

The React classroom view caches the day's class roster locally via service-worker storage and queues attendance marks offline. Once the tablet reconnects, Spring Boot reconciles timestamps against front-office late arrivals using deterministic precedence rules.

Why choose Java and Spring Boot for K-12 administration software?

School systems accumulate intricate domain rules across attendance codes, grading scales, timetabling conflicts, and statutory reporting schemas. Java's strong typing and Spring Boot's transactional boundaries prevent subtle runtime data corruption across decade-long student histories.

How do you handle morning absence alert bursts without delaying the school office workflow?

When homeroom attendance closes, Spring Boot commits marks immediately and emits domain events onto Redis queues. Background notification workers resolve guardian contact preferences, deduplicate multi-sibling messages, and dispatch SMS/email notices asynchronously.

Can multiple schools in a trust or district share the platform while keeping student records isolated?

Yes. Every record carries a mandatory `school_id` tenant discriminator enforced at the Spring Security and PostgreSQL query layers, while district-level trustees access aggregated anonymized roll trends without exposing individual student pastoral notes.

03 — Similar project?

describe what is different about yours

Build yours.

Tell me what exists, what you need and the deadline. Fixed price for a defined scope, or $55/day (8–9 hours work) with a written plan first.

Solitaire Corporate Park, Makarba, Ahmedabad, Gujarat 380015, India · IST (UTC+5:30) · --:-- IST · Mon–Fri 09:00–18:00 IST · US & EU overlap daily

No newsletter, no CRM. Just a reply.