Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making UI #14

Merged
merged 2 commits into from
Mar 8, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
110 changes: 52 additions & 58 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,64 +1,58 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Employee Management System</title>
</head>
<body>
<h1>Employee Management System</h1>
*Employee Management System*

<h2>How to Run the Project</h2>
<p>Due to time constraints, we were only able to implement a few UI features. To test the available functionality, you will need to manually insert data into some tables. Please follow the steps below to set up the project and run both the backend and frontend. Use the following script to generate data into the database.</p>
Submitted by: **Maliha Hossain & Aileen Rosas**

<h3>Setting up the Backend</h3>
<ol>
<li>Navigate to the backend directory:
<p>cd EmployeeManagementBackend</p>
</li>
<li>Ensure you are connected to your MySQL database by configuring the following in your database connection file:
<p>const db = mysql.createConnection({</p>
<p>host: "your database host",</p>
<p>user: "your database user",</p>
<p>password: "your database password if any",</p>
<p>database: "Emp_Management",</p>
<p>port: database port</p>
<p>});</p>
</li>
<li>Install dependencies:
<p>npm install</p>
</li>
<li>Install Express:
<p>npm install express</p>
</li>
<li>Install CORS:
<p>npm install cors</p>
</li>
<li>Run the backend server:
<p>npm start</p>
</li>
</ol>
This web app: **The Employee management system helps comapany manage thier employees**

<h3>Setting up the Frontend</h3>
<ol>
<li>Navigate to the frontend directory:
<p>cd EmployeeManagementSystem</p>
</li>
<li>Install dependencies:
<p>npm install</p>
</li>
<li>Start the frontend server:
<p>npm run dev</p>
</li>
<li>Open your browser and navigate to the link displayed in the terminal to view the application.</li>
</ol>

<hr>

<h2>Video Demonstration</h2>
<p>A video clip demonstrating how to test the project is available.</p>
## Implemented Features
*Due to time constraints, we were only able to implement a few UI features. To test the available functionality, you will need to manually insert data into some tables. Please follow the steps below to set up the project and run both the backend and frontend. Use the following script to generate data into the database*

## Sql script
Insert sql script here


The following **featues** is completed:
[] Add an Employee
[] Edit an Employee
[] view employee profile
[] assign project
[] view list of projects
[] view list of assigned projects
[] view trainings
[] assign training
[] assign training
[] show emoloyees on leave
[] show employees who submiited leave request.
[] show number of leave request per employee

## Setting up the Backend
naviate to the backend directory
**cd EmployeeManagementBackend**
Ensure that you are conect to mysql database :

const db = mysql.createConnection({
host: "your database host",
user : "your database user",
password:'your database password if any',
database:'Emp_Management',
port: database port
})

-[] on the terminal, intall npm -- **npm install**
-[] Install express : **npm install express**
-[] Inatall cors: **npm install cors**
-[] run the backend: **npm start**

## Setting up the frontend
-[] Navigate to the frontend directory cd EmployeeManagementSystem
-[] install dependencies **npm install**
-[] start the fontend server **npm run dev**
-[] Open your browser and navigate to the link displayed in the terminal to view the application
## Video Walkthrough

Here's a walkthrough of implemented features:

<img src='http://i.imgur.com/link/to/your/gif/file.gif' title='Video Walkthrough' width='' alt='Video Walkthrough' />

<hr>
<p>Thank you for exploring our Employee Management System!</p>
</body>
</html>