A RESTful backend application built using Spring Boot that provides CRUD (Create, Read, Update, Delete) operations for managing users. This project follows a clean layered architecture and is tested using Postman.
- Create, Read, Update, Delete (CRUD) Users
- REST APIs using Spring Boot
- Layered Architecture (Controller, Service, Repository)
- Spring Data JPA with Hibernate
- MySQL Database Integration
- Validation & Global Exception Handling
- API testing using Postman
- Java 17
- Spring Boot
- Spring Data JPA (Hibernate)
- MySQL
- Maven
- Postman
src/main/java/com/shivam/usermanagement │ ├── controller # REST Controllers ├── service # Business Logic │ └── impl ├── repository # JPA Repositories ├── entity # JPA Entities ├── exception # Custom & Global Exceptions └── SpringbootUserManagementApplication.java
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/users | Create User |
| GET | /api/users | Get All Users |
| GET | /api/users/{id} | Get User by ID |
| PUT | /api/users/{id} | Update User |
| DELETE | /api/users/{id} | Delete User |
-
Clone the repository
-
Configure MySQL database in
application.properties -
Run the application using:
-
Test APIs using Postman
Shivam Yogi
Backend / Full Stack Java Developer