Skip to content

Backend user management system built with Spring Boot, JPA, and MySQL following layered architecture.

Notifications You must be signed in to change notification settings

shivamyogi02/spring-boot-user-management-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Spring Boot User Management System

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.


πŸš€ Features

  • 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

πŸ›  Tech Stack

  • Java 17
  • Spring Boot
  • Spring Data JPA (Hibernate)
  • MySQL
  • Maven
  • Postman

πŸ“‚ Project Structure

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

πŸ“Œ API Endpoints

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

▢️ How to Run the Project

  1. Clone the repository

  2. Configure MySQL database in application.properties

  3. Run the application using:

  4. Test APIs using Postman


πŸ‘€ Author

Shivam Yogi
Backend / Full Stack Java Developer

About

Backend user management system built with Spring Boot, JPA, and MySQL following layered architecture.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages