mensapc / vrep-elementary-back

VREP is a user-friendly web application designed to streamline administrative tasks and enhance educational workflows for elementary schools. It empowers schools to effectively manage student enrollment, conduct and evaluate exams, track results, and stay informed about upcoming school events.
0 stars 0 forks source link

Isolate Staff service #167

Open ZygeSam opened 3 months ago

ZygeSam commented 3 months ago

Staffs should have its own service isolated. Create a new folder for staffs in the repo Things to do:

Check resources for more help or reach out to me on slack via the channel for direction.

See project folder structure project/ │ └── src/ │ ├── staffs/ │ │ │ ├── api/ │ │ │ │ │ ├── v1/ │ │ │ │ │ │ │ ├── controllers/ │ │ │ │ └── (Controller files for API endpoints) │ │ │ │ │ │ │ ├── helpers/ │ │ │ │ └── (Helper functions used across API endpoints) │ │ │ │ │ │ │ ├── interfaces/ │ │ │ │ └── (TypeScript interfaces defining data structures) │ │ │ │ │ │ │ ├── middleware/ │ │ │ │ └── (Middleware functions for request processing) │ │ │ │ │ │ │ ├── models/ │ │ │ │ └── (Database models representing data structures) │ │ │ │ │ │ │ ├── routes/ │ │ │ │ └── (API route definitions) │ │ │ │ │ │ │ ├── services/ │ │ │ │ └── (Business logic services) │ │ │ │ │ │ │ └── validations/ │ │ │ └── (Validation schemas and functions for request payload) │ │ │ │ │--└── (Other API versions if applicable) │ ├── config/ │ └── (Configuration files used across the project) │ ├── utils/ │ └── (Shared functions/utilities files used across the project) │ └── tests/ └── (Unit tests for the project code)