School Management API
A REST API for managing schools, classes, students, and exercises. Built with Node.js, Express, MongoDB, and JWT authentication.
API Documentation
Full endpoint reference with request/response details
API Status
Live uptime check for the running server
School Interface
Browse schools and classes in a web UI
Role model
| Role | Access |
|---|---|
| Visitor | Read-only GET endpoints (schools, classes, students, exercises) |
| User | Logged in — can create and manage exercises and scores |
| Admin | Full access — can create, update, and delete all records |
Data model
- Schools — top-level document, contains embedded classes
- Classes — embedded in a school, contains embedded students
- Students — embedded in a class, contains embedded exercises
- Exercises — embedded in a student, contains embedded scores
- Users — separate collection for authentication