This is a Spring Boot project that demonstrates the management of a relationship between students and courses using Spring Data JPA.
This project is a simple example of how to design a Spring Boot application that handles a many-to-many relationship between students and courses. It allows you to perform CRUD (Create, Read, Update, Delete) operations on students and courses and manage their associations.
- Create, read, update, and delete students.
- Create, read, update, and delete courses.
- Enroll and unenroll students in/from courses.
- View the list of students enrolled in a particular course.
- View the list of courses in which a particular student is enrolled.
- Spring Boot
- Spring Data JPA
- PostgreSQL
- Maven
- RESTful API
- Clone this repository to your local machine: git clone git@github.com:faisal6699/student-course.git
Open the project in your preferred IDE (e.g., IntelliJ IDEA, Eclipse).
Configure your MySQL database connection in the application.properties file.
Build and run the Spring Boot application.
Access the application at http://localhost:8080.
Use the provided API endpoints to manage students and courses.
We welcome contributions to improve this project. Feel free to open issues and pull requests.
This project is licensed under the MIT License - see the LICENSE.md file for details.