Skip to content

shivamyogi-dev/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

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages