Architecture
Organization Foundation
The Organization entity is the root business object of the SRJ Platform. Every campus, user, student, employee and academic session belongs to an Organization.
Overview
Sprint 24 introduced the first production-ready business object of the SRJ Platform. Instead of starting directly with students or teachers, the platform begins with Organizations.
This architecture enables both single-school deployments and future multi-campus expansion without redesigning the database.
Business Architecture
The Organization represents the legal owner of educational institutions managed through the platform.
Organization
↓
Campus
↓
Users
↓
Students
↓
Academic SessionsDatabase Design
- UUID Primary Key
- Unique Organization Code
- Status Constraint
- Automatic Timestamps
- PostgreSQL Row Level Security Ready
Repository Pattern
SRJ Platform separates database access from business logic by using repositories.
Browser
↓
Server Component
↓
Repository
↓
Supabase
↓
PostgreSQLSprint 24 Outcome
- Organizations table created
- Repository layer implemented
- Health Dashboard connected
- First live database query completed
- RLS development strategy established
Version
0.2.0
Last Updated
July 2026
Reading Time
5 min