Skip to content

Student Management System is a web-based application developed using Java, Spring Boot, Spring Data JPA, Thymeleaf, and MySQL. It allows users to add, view, update, and delete student records through a simple and responsive interface. The system follows an MVC architecture and provides a clean separation between business logic and UI.

Notifications You must be signed in to change notification settings

SonaliBarik30/Student-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ“ Student Management System (RESTful Web App)

A backend-focused Spring Boot application that manages student data using REST APIs and full CRUD functionality.
Built using Java, Spring Boot, Spring Data JPA, and MySQL, following clean code and layered architecture principles.


πŸ›  Tech Stack

  • Language: Java 17+
  • Framework: Spring Boot
  • Database: MySQL
  • ORM: Spring Data JPA (Hibernate)
  • API Style: RESTful APIs
  • Build Tool: Maven

✨ Key Features

  • πŸ”„ Full CRUD operations on student records (Create, Read, Update, Delete)
  • βš™οΈ Layered architecture (Controller β†’ Service β†’ Repository)
  • πŸ—‚οΈ Clean REST API endpoints
  • πŸ›‘οΈ Robust and maintainable codebase
  • πŸ›’οΈ Persistent database using MySQL
  • ⚑ Project build and dependency management using Maven

πŸ“‚ Project Structure

src/

└── main/

β”œβ”€β”€ java/

β”‚ └── net/springboot/sms/

β”‚ β”œβ”€β”€ controller/ # REST Controllers

β”‚ β”œβ”€β”€ entity/ # JPA Entities

β”‚ β”œβ”€β”€ repository/ # Spring Data JPA Repositories

β”‚ β”œβ”€β”€ service/ # Service Layer (Business Logic)

β”‚ └── SmsApplication.java # Main Class

└── resources/ β”œβ”€β”€ application.properties


πŸš€ How to Run

###clone the repo

git clone https://github.com/SonaliBarik30/Student-Management-System

cd student-management-system

###Configure your database Make sure MySQL is running, then update application.properties:

spring.datasource.url=jdbc:mysql://localhost:3306/student_db

spring.datasource.username=root

spring.datasource.password=your_password

spring.jpa.hibernate.ddl-auto=update

###Create the database manually in MySQL:

CREATE DATABASE student_db;

Run the app Use your IDE or terminal:

./mvnw spring-boot:run


πŸ“‘ API Endpoints

Method Endpoint Description

GET /api/students List all students

POST /api/students Create new student

GET /api/students/{id} Get student by ID

PUT /api/students/{id} Update student

DELETE /api/students/{id} Delete student

About

Student Management System is a web-based application developed using Java, Spring Boot, Spring Data JPA, Thymeleaf, and MySQL. It allows users to add, view, update, and delete student records through a simple and responsive interface. The system follows an MVC architecture and provides a clean separation between business logic and UI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published