This project is a University Course Management System designed to handle student enrollment, course management, and related functionalities.
To set up the project on your local machine, follow these steps:
-
Clone the Repository: Use
git clone
to clone the repository:git clone https://github.com/your-username/university-course-management.git
-
Install Dependencies: Navigate to the project directory and install the dependencies:
cd university-course-management cd course
-
Database Configuration: Configure the database settings in
application.properties
or the respective configuration file.
To run the system locally, execute the following steps:
-
Run the Application: Run the CourseApplication file
-
Access the Application: The application should be accessible at
http://localhost:8088
by default.
The following are the main API endpoints for this system:
- GET /courses: Retrieve all courses.
- GET /courses/{id}: Retrieve a specific course by ID.
- POST /courses: Create a new course.
- PUT /courses/{id}: Update details of a specific course.
- DELETE /courses/{id}: Delete a course by ID.
- POST /enrollments/enroll: Enroll a student in a course by providing studentId and courseId as parameters.
- GET /enrollments: Retrieve all enrollments with details.
- GET /enrollments/{id}: Retrieve enrollment details by ID.
- PUT /enrollments/{id}: Update enrollment details.
- DELETE /enrollments/{id}: Delete an enrollment by ID.
- GET /students: Retrieve all students.
- GET /students/{id}: Retrieve a specific student by ID.
- POST /students: Register a new student.
- PUT /students/{id}: Update details of a specific student.
- DELETE /students/{id}: Delete a student by ID.
- GET /students/{studentId}/courses: Retrieve courses for a specific student.