A RESTful Student Management System backend built using Spring Boot.
This application provides APIs to manage student records and persists data in a MySQL database using Spring Data JPA (Hibernate).
It serves as the backend for a React-based frontend application.
🔗 Frontend Repository:
👉 Student Management System – Frontend
- Backend API Base URL: https://student-management-system-backend-jssl.onrender.com
- Students Endpoint: https://student-management-system-backend-jssl.onrender.com/students
- Frontend Live Demo: https://fullstack-studentdb-madhav.netlify.app/
- Note: The backend is hosted on a free instance, and may take ~1 minute to wake up on the first request.
- Create: Add new student records
- Read: Fetch all students / fetch by Roll no
- Update: Update existing student details
- Delete: Remove student records from database
- RESTful API design
- Spring Data JPA with Hibernate ORM
- MySQL database integration
- CORS configuration for frontend communication
- Global exception handling
- Environment-based configuration (local & production)
- Backend Framework: Spring Boot
- Language: Java
- Database: MySQL
- ORM: Spring Data JPA (Hibernate)
- Build Tool: Maven
- Deployment: Render
- Frontend Hosting: Netlify
- Client: React Frontend (Netlify)
- Server: Spring Boot REST API (Render)
- Database: MySQL (Railway)
| Method | Endpoint | Description | Request Body Example |
|---|---|---|---|
| GET | / |
Displays welcome message | None |
| GET | /students |
Get all students | None |
| GET | /students/{rollno} |
Get student by rollno | { "Roll no":12} |
| POST | /students |
Add a new student | { "name": "John", "Roll no":12, "Age":23, "Marks":99 } |
| PUT | /students/{rollno} |
Update student by rollno | { "name": "John", "Roll no":12, "Age":23, "Marks":76 } |
| DELETE | /students/{rollno} |
Delete student by rollno | { "Roll no":12} |
You can see the live frontend connected to this backend here:
Student Management System – Live Demo
- Push your project to GitHub.
- Connect the repo to Render.
- Set environment variables for DB URL, username, and password.
- Deploy to Render and use the generated live backend URL.
Madhav Agrawal
- Email: agrawalmad00@gmail.com
This project is licensed under the MIT License.
- React frontend sends HTTP requests to the backend.
- Backend controllers handle the requests.
- DAO layer executes SQL queries via JDBC.
- Responses are sent back as JSON to the frontend.




