This is a simple Employee Management System built with Java, Spring Boot, and MySQL. The application provides a RESTful API for managing employees in a company.
- Java
- Spring Boot
- MySQL
- Maven
The application provides the following features:
- Get all employees
- Add a new employee
- Get an employee by ID
- Update an employee by ID
- Delete an employee by ID
- Java 17 or higher
- Maven
- MySQL
- Clone the repository
- Navigate to the project directory
- Update the
src/main/resources/application.yml
file with your MySQL credentials - Have a MySQL server running with an scheme called
employeemanagersystem
- Run the application using Maven:
mvn spring-boot:run
The application will start running at http://localhost:8080.
The API documentation is available at http://localhost:8080/documentation.
- GET /api/v1/employees: Get all employees
- POST /api/v1/employees: Add a new employee
- GET /api/v1/employees/{id}: Get an employee by ID
- PUT /api/v1/employees/{id}: Update an employee by ID
- DELETE /api/v1/employees/{id}: Delete an employee by ID
The frontend for this application is available at this link