This project provides a user-friendly RESTful API for managing timetables, built with the powerful Spring Boot framework.
- Effortless Establishment Management: Create, retrieve, update, and delete establishment information. (https://www.postman.com/product/rest-client/)
- Level Management: Manage different academic levels within your establishment.
- Additional Functionalities (to be implemented):
- Manage classes, teachers, and subjects.
- Build and schedule timetables.
- Integrate with calendar applications.
- Prerequisites:
- Java 11+
- Maven
- Clone the Project:
git clone https://github.com/your-username/timetable-management-api.git
- Build and Run:
cd timetable-management-api
mvn spring-boot:run
The API uses JSON for data exchange and follows the standard HTTP methods for CRUD operations:
- GET: Retrieve data
- POST: Create data
- PUT: Update data
- DELETE: Delete data
- Establishment Management:
- List all establishments:
- Get an establishment by ID:
- Create a new establishment:
- POST http://localhost:8080/api/v1/establishment/ (with JSON body containing name and address)
- Update an establishment:
- PUT http://localhost:8080/api/v1/establishment/update?id={establishmentId} (with JSON body containing updated name and address)
- Delete an establishment:
- Level Management (similar structure as establishment management):
- List all levels:
- ... (other Level API endpoints follow the same pattern)
- Replace {establishmentId} with the actual ID of the establishment you want to access or update.
- Refer to the code for details on additional functionalities planned for future development.
- Contributing We welcome contributions to this project! Feel free to fork the repository and submit pull requests.
This project is licensed under the MIT License. See the LICENSE file for details.