Employee Manager is a web application for managing employee records. The project is divided into two parts: the backend, built with Spring Boot and using MySQL as the database, and the frontend, built with Angular.
The backend of the Employee Manager project is built with Spring Boot and uses MySQL as the database. The backend handles the logic for managing employee data, providing RESTful APIs for CRUD operations.
-
Clone the backend repository:
git clone https://github.com/HadilEltaif/EmployeeManagerBackEnd.git
-
Configure the MySQL database:
. Open src/main/resources/application.properties.
. Update the following properties with your MySQL database information:
spring.datasource.url=jdbc:mysql://localhost:3306/your_database_name
spring.datasource.username=your_username
spring.datasource.password=your_password
- Build and run the Spring Boot application:
./mvnw spring-boot:run
The backend server will start on http://localhost:8081.
The backend provides RESTful APIs for managing employees.
-
Use the provided features to manage employees:
-Get All Employees: View a list of all employees.
-Add Employee: Add a new employee to the system.
-Edit Employee Profile: Update the details of an existing employee.
-Delete Employee: Remove an employee from the system.
-Search Employee: Search for an employee based on specified criteria. -
It is meant to be consumed by the frontend application.
Backend: Spring Boot, MySQL.
Fronend Angular.