Employe dashboard for interviews using React.js
This is a React-based application for displaying an employee activity dashboard. The dashboard includes a table of employees with details such as their rank, name, designation, hours worked, and changes in hours. It also features a card highlighting the employee of the month.
- Responsive design using Material-UI.
- Attractive UI with custom CSS.
- Employee table with rank, name, designation, hours worked, and changes.
- Highlighted card for Employee of the Month.
Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.
Make sure you have the following installed:
- Node.js (v14 or higher)
- npm (comes with Node.js)
-
Clone the repository:
git clone https://github.com/your-username/employees-dashboard.git cd employees-dashboard
-
Install the dependencies:
npm install
- Start the development server:
npm start
Dashboard.js: The main component that structures the dashboard layout.
EmployeeTable.js: Displays the table of employees with their details.
EmployeeCard.js: Displays the employee of the month card.
App.css: General styles for the app. EmployeeTable.css: Specific styles for the Employee Table component. EmployeeCard.css: Specific styles for the Employee Card component.
Example Data The employee data is currently hardcoded in EmployeeTable.js for demonstration purposes. You can update it or replace it with dynamic data fetching as needed.
React Material-UI