A full-stack web application for managing student course registrations.
This project is built using:
- π§ Spring Boot (backend, using JDBC for database access)
- βοΈ React (frontend, for interacting with the system)
- π¬ MySQL (as the relational database)
.
βββ backend/ # Spring Boot backend (JDBC + REST API)
βββ frontend/ # React frontend (student interface)
βββ README.md
- Spring Boot 3.5+
- JDBC Template (no JPA)
- MySQL
- Maven
- Java 21+
- MySQL installed and running
- Maven
- Create database:
CREATE DATABASE studentdb;- Update
backend/src/main/resources/application.properties:
spring.datasource.url=jdbc:mysql://localhost:3306/studentdb
spring.datasource.username=root
spring.datasource.password=your_password- Run backend:
cd StudentManagement_Backend
./mvnw spring-boot:run- Admin can:
- Add new students
- Add new courses
- Enroll students into courses
- Students can:
- View their enrolled courses
- Navigate to
StudentManagement_FrontEnd/:
cd StudentManagement_FrontEnd- Install dependencies:
npm install- Start the development server:
npm run devThe React app will run on http://localhost:5173
POST /api/studentGET /api/student
POST /api/courseGET /api/course
POST /api/enrollment/?student_id=1&course_id=2GET /api/enrollment/student/{id}β list courses for student
- Add authentication (Spring Security / JWT)
- Role-based access (Admin vs Student)
- Improve frontend UI/UX
- Add search/filter for courses
This project is licensed under the MIT License. See LICENSE for details.