The Employee Management System is a web application designed to manage employee records efficiently. This application utilizes Angular 18 for the frontend and Spring Boot for the backend, with MySQL as the database.
- Frontend: Angular 18
- Backend: Spring Boot
- Database: MySQL Workbench
- Reference Repository: GitHub Repository
- Video Tutorial: YouTube Playlist
- Employee List: View all employees with their details.
- Add Employee: Add new employee records.
- Update Employee: Modify existing employee information.
- Delete Employee: Remove employee records from the system.
- Java Development Kit (JDK) 11 or later
- Apache Maven
- MySQL Workbench
- Node.js and npm (for Angular)
- Clone the Repository:
git clone https://github.com/ebraheemfataar/Employee_Management_System_Angular_SpringBoot.git
-
Navigate to the backend folder:
cd api -
Configure your MySQL database in the application.properties file.
-
Build and run the Spring Boot application:
mvn spring-boot:run
The backend server will run on http://localhost:8080.
-
Navigate to the frontend folder:
cd app -
Install the Angular dependencies:
npm install
-
Run the Angular application:
ng serve
The frontend will be accessible at http://localhost:4200.
- GET /api/v1/employees: Retrieve the list of employees.
- POST /api/v1/employees: Add a new employee.
- GET /api/v1/employees/{id}: Retrieve an employee by ID.
- PUT /api/v1/employees/{id}: Update an existing employee.
- DELETE /api/v1/employees/{id}: Delete an employee.
CORS is configured to allow requests from the Angular frontend. The backend allows access from http://localhost:4200.
