Skip to content

A backend web application built using Spring Boot and JDBC that manages student and course registration. Includes REST APIs for student management, course enrollment, and basic CRUD operations, making it ideal for learning Spring fundamentals without JPA or advanced abstractions.

Notifications You must be signed in to change notification settings

avadhutmali/springboot-student-registration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ“ Student Course Registration System

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)

πŸ“ Project Structure

.
β”œβ”€β”€ backend/        # Spring Boot backend (JDBC + REST API)
β”œβ”€β”€ frontend/       # React frontend (student interface)
└── README.md

πŸ”§ Backend Setup (Spring Boot + JDBC)

πŸ“¦ Tech Stack:

  • Spring Boot 3.5+
  • JDBC Template (no JPA)
  • MySQL
  • Maven

πŸ“„ Prerequisites:

  • Java 21+
  • MySQL installed and running
  • Maven

βš™οΈ Run the Backend:

  1. Create database:
CREATE DATABASE studentdb;
  1. Update backend/src/main/resources/application.properties:
spring.datasource.url=jdbc:mysql://localhost:3306/studentdb
spring.datasource.username=root
spring.datasource.password=your_password
  1. Run backend:
cd StudentManagement_Backend
./mvnw spring-boot:run

βœ… Features:

  • Admin can:
    • Add new students
    • Add new courses
    • Enroll students into courses
  • Students can:
    • View their enrolled courses

🎨 Frontend Setup (React)

βš™οΈ Run the Frontend:

  1. Navigate to StudentManagement_FrontEnd/:
cd StudentManagement_FrontEnd
  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev

The React app will run on http://localhost:5173


πŸ”— API Endpoints

πŸ“š Student

  • POST /api/student
  • GET /api/student

πŸ“˜ Course

  • POST /api/course
  • GET /api/course

πŸ” Enrollment

  • POST /api/enrollment/?student_id=1&course_id=2
  • GET /api/enrollment/student/{id} β†’ list courses for student

πŸ“Œ Future Enhancements

  • Add authentication (Spring Security / JWT)
  • Role-based access (Admin vs Student)
  • Improve frontend UI/UX
  • Add search/filter for courses

πŸ™Œ Author


πŸ“ƒ License

This project is licensed under the MIT License. See LICENSE for details.

About

A backend web application built using Spring Boot and JDBC that manages student and course registration. Includes REST APIs for student management, course enrollment, and basic CRUD operations, making it ideal for learning Spring fundamentals without JPA or advanced abstractions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published