Skip to content

A Spring Boot REST API for managing employees with full CRUD operations. Built using Spring Data JPA and MySQL, it follows clean architecture with controller, service, repository, and model layers. Ideal for learning backend API design.

Notifications You must be signed in to change notification settings

nishantxcode/EmployeeCRUDProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ§‘β€πŸ’Ό EmployeeCRUDProject

A RESTful Spring Boot application to manage employee records with complete CRUD operations. Built with Spring Boot, Spring Data JPA, and MySQL, the project demonstrates clean architecture and real-world backend development practices.


πŸ“Œ Features

  • Create new employee records
  • Retrieve all or specific employee details
  • Update existing employee information
  • Delete employee records by ID
  • Layered architecture: Controller β†’ Service β†’ Repository β†’ Model
  • MySQL database integration
  • Tested with Postman

🧰 Tech Stack

  • Java 17
  • Spring Boot 3.x
  • Spring Data JPA
  • MySQL
  • Maven

πŸ”— Sample API Endpoints

Method Endpoint Description
GET /employees Fetch all employees
GET /employees/{id} Fetch employee by ID
POST /employees Add a new employee
PUT /employees/{id} Update employee by ID
DELETE /employees/{id} Delete employee by ID

πŸ“„ License

This project is licensed under the MIT License.

About

A Spring Boot REST API for managing employees with full CRUD operations. Built using Spring Data JPA and MySQL, it follows clean architecture with controller, service, repository, and model layers. Ideal for learning backend API design.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages