# SPS School Backend ## Docs - [Approve application](https://mintlify.wiki/praveenarya123/sps-backend/api/applications/approve.md): Approve a pending application by its ID. - [Send application](https://mintlify.wiki/praveenarya123/sps-backend/api/applications/send.md): Submit a new application from a student to a teacher. - [Submit assignment](https://mintlify.wiki/praveenarya123/sps-backend/api/assignments/submit.md): Submit a student assignment with a file URL and timestamp. - [Get attendance](https://mintlify.wiki/praveenarya123/sps-backend/api/attendance/get.md): Retrieve all attendance records for a specific student. - [Mark attendance](https://mintlify.wiki/praveenarya123/sps-backend/api/attendance/mark.md): Record a student attendance entry for a given date and status. - [Login](https://mintlify.wiki/praveenarya123/sps-backend/api/auth/login.md): Authenticate a user and receive a JWT for use in subsequent requests. - [Register](https://mintlify.wiki/praveenarya123/sps-backend/api/auth/register.md): Create a new user account in the SPS School Backend system. - [Create fee](https://mintlify.wiki/praveenarya123/sps-backend/api/finance/create-fee.md): Create a new fee record for a student. - [List fees](https://mintlify.wiki/praveenarya123/sps-backend/api/finance/list-fees.md): Retrieve all fee records in the system. - [Add student](https://mintlify.wiki/praveenarya123/sps-backend/api/students/add.md): Create a new student record in the system. - [List students](https://mintlify.wiki/praveenarya123/sps-backend/api/students/list.md): Retrieve a list of all student records in the system. - [Create assignment](https://mintlify.wiki/praveenarya123/sps-backend/api/teachers/create-assignment.md): Create a new assignment for a class. Requires a valid teacher JWT and TEACHER role. - [Authentication](https://mintlify.wiki/praveenarya123/sps-backend/authentication.md): JWT-based authentication and role-based access control for the SPS School Backend API. - [Data models](https://mintlify.wiki/praveenarya123/sps-backend/concepts/data-models.md): Mongoose schemas for all seven resources in SPS School Backend — fields, types, constraints, relationships, and example documents. - [Roles](https://mintlify.wiki/praveenarya123/sps-backend/concepts/roles.md): Role-based access control in SPS School Backend — the seven user roles, how they are assigned, and how the middleware enforces them. - [Environment variables](https://mintlify.wiki/praveenarya123/sps-backend/guides/environment.md): Reference for all environment variables required to run the SPS School Backend. - [Server setup](https://mintlify.wiki/praveenarya123/sps-backend/guides/setup.md): Install and run the SPS School Backend locally or with MongoDB Atlas. - [Introduction](https://mintlify.wiki/praveenarya123/sps-backend/introduction.md): SPS School Backend — a RESTful API for school management built with Node.js, Express, and MongoDB. - [Quickstart](https://mintlify.wiki/praveenarya123/sps-backend/quickstart.md): Get the SPS School Backend running locally and make your first API call in under 5 minutes. ## OpenAPI Specs - [openapi](https://mintlify.wiki/praveenarya123/sps-backend/api-reference/openapi.json)