This is a web application built using React for managing employees. The app allows users to add and remove employees, assign bonuses to employees, and filter the employees based on their salary or whether they have received a bonus. By clicking on a employee's name, we indicate that the employee will receive a salary raise. Clicking on a cookie icon highlights the employee's name, indicating that they will receive a bonus. Additionally, searching for an employee in the list can be done by typing characters.
The app has the following features:
- Add Employee: Users can add new employees by providing their name and salary.
- Remove Employee: Users can remove employees from the list.
- Assign Bonus: Users can assign a bonus to an employee by selecting the employee and providing the bonus amount.
- Filter by Salary: Users can filter the list of employees based on their salary.
- Filter by Bonus: Users can filter the list of employees based on whether they have received a bonus.
The app uses the following dependencies:
react
andreact-dom
for building the UI.react-scripts
for building and running the app.bootstrap
for styling the app.
This is a basic employee management app that demonstrates the use of React for building user interfaces. With additional features and functionality, it can be extended to suit the needs of a variety of businesses.