This is an Employee Management System developed using Angular, Spring Boot, and MySQL.
- Create, read, update, and delete employee records
- View employee details and contact information
- Search for employees by name id
- Angular: A front-end JavaScript framework for building user interfaces
- Spring Boot: A Java framework for building robust and scalable web applications
- MySQL: A relational database management system
Before running the application, make sure you have the following installed:
-
Node.js: Download and install Node.js from the official website -
https://nodejs.org -
Angular CLI: Install the Angular Command Line Interface globally by running the following command:
npm install -g @angular/cli
-
Java Development Kit (JDK): Download and install the JDK from the official Oracle website - https://www.oracle.com/java/technologies/javase-jdk11-downloads.html
-
MySQL: Install MySQL Server and MySQL Workbench from the official website - https://dev.mysql.com/downloads/installer/
- Clone this repository to your local machine:
git clone https://github.com/Rohit9252/Employee-Management-System.git
- Set up the MySQL database:
- Open MySQL Workbench and connect to your MySQL Server.
- Create a new schema/database named
employee_management_system. - Run the SQL scripts in the
databasefolder to create the necessary tables.
- Set up the backend (Spring Boot):
- Navigate to the
backenddirectory:cd employee-management-system/backend - Open
src/main/resources/application.propertiesand update the database connection properties. - Build and run the Spring Boot application:
./mvnw spring-boot:runhttp://localhost:8080/swagger-ui/index.html#/employee-controller
- Set up the frontend (Angular):
- Navigate to the
frontenddirectory:cd employee-management-system/frontend - Install the required dependencies:
npm install - Start the Angular development server:
ng serve
- Access the application:
- Open a web browser and go to
http://localhost:4200to access the Employee Management System.
https://drive.google.com/file/d/1GFf6L_f9yslPDNPuaG1kDK28WLkDA0cm/view?usp=sharing
Contributions are welcome! If you find any issues or have suggestions for improvement, please create a GitHub issue or submit a pull request.