https://github.com/andre-carbajal/employeemanagmentsystembackend
A Employee Management System built with Java, Spring Boot, and MySQL
https://github.com/andre-carbajal/employeemanagmentsystembackend
java java-17 lombok lombok-maven maven mysql mysql-database spring spring-boot spring-doc spring-docs sql
Last synced: 3 months ago
JSON representation
A Employee Management System built with Java, Spring Boot, and MySQL
- Host: GitHub
- URL: https://github.com/andre-carbajal/employeemanagmentsystembackend
- Owner: andre-carbajal
- Created: 2024-03-21T23:18:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-23T18:03:28.000Z (over 2 years ago)
- Last Synced: 2025-01-03T21:34:04.738Z (over 1 year ago)
- Topics: java, java-17, lombok, lombok-maven, maven, mysql, mysql-database, spring, spring-boot, spring-doc, spring-docs, sql
- Language: Java
- Homepage:
- Size: 73.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Employee Management System
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.
## Technologies Used
- Java
- Spring Boot
- MySQL
- Maven
## Features
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
## Setup
### Prerequisites
- Java 17 or higher
- Maven
- MySQL
### Installation
1. Clone the repository
2. Navigate to the project directory
3. Update the `src/main/resources/application.yml` file with your MySQL credentials
4. Have a MySQL server running with an scheme called `employeemanagersystem`
5. Run the application using Maven:
```bash
mvn spring-boot:run
```
The application will start running at http://localhost:8080.
### API Documentation
The API documentation is available at http://localhost:8080/documentation.
### API Endpoints
- 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
### Frontend
The frontend for this application is available at this [link](https://github.com/andre-carbajal/EmployeeManagmentSystemFrontend)