A Employee Management application built with Spring Boot and Angular.
Manages employee records using a REST API, MySQL database, and a responsive frontend.
This project is intended to be run locally for demonstration purposes.
- Create, view, update, and delete employees
- Search employees by name, email, or job title
- Display employee details such as job title, phone number, image, status, birthday, hire date, and contract information
- Employee statistics overview
- Upcoming birthday, anniversary, and contract-ending sections
- Responsive Angular frontend
- RESTful backend API with Spring Boot
- MySQL database integration
- Java
- Spring Boot
- Spring Data JPA
- Maven
- MySQL
- Angular
- TypeScript
- HTML
- CSS
- Bootstrap / Font Awesome
- REST API design
- CRUD operations
- Frontend-backend integration
- MySQL database handling
- Component-based Angular architecture
Employee-Manager-App/
├── backend/
│ └── employee-manager/ # Spring Boot REST API
├── frontend/
│ └── employeemanagerapp/ # Angular frontend application
├── preview.png
└── README.md
Make sure you have installed:
- Java
- Maven or the included Maven Wrapper
- Node.js and npm
- Angular CLI
- MySQL
Navigate to the backend project:
cd backend/employee-managerRun the Spring Boot application:
./mvnw spring-boot:runOn Windows PowerShell, use:
.\mvnw spring-boot:runThe backend runs on:
http://localhost:8080
Navigate to the frontend project:
cd frontend/employeemanagerappInstall dependencies:
npm installStart the Angular development server:
npm startThe frontend runs on:
http://localhost:4200
The backend uses MySQL. Update the database settings in:
backend/employee-manager/src/main/resources/application.properties
Example:
spring.datasource.url=jdbc:mysql://localhost:3306/employeemanager
spring.datasource.username=your_username
spring.datasource.password=your_password
spring.jpa.hibernate.ddl-auto=updateMake sure a MySQL database named employeemanager exists before starting the backend.
Base URL:
http://localhost:8080/employee
| Method | Endpoint | Description |
|---|---|---|
| GET | /all |
Get all employees |
| GET | /find/{id} |
Get employee by ID |
| POST | /add |
Add a new employee |
| PUT | /update |
Update an existing employee |
| DELETE | /delete/{id} |
Delete an employee |
This project demonstrates a practical full-stack CRUD application using a Spring Boot REST API, MySQL database, and Angular frontend. It focuses on clean project structure, frontend-backend communication, and real-world employee management functionality.
This project is provided for educational and portfolio demonstration purposes.
