/employee-task

A simple UI listing employees who have four different states including the following: ADDED - IN-CHECK - APPROVED - ACTIVE - INACTIVE

Primary LanguageTypeScript

Welcome to Employee Managment System (React/Typescript/RestApi) 👋

The app is a one page that display Employee table. The employee have four different status including the following

  1. ADDED
  2. IN-CHECK
  3. APPROVED
  4. ACTIVE
  5. INACTIVE
In Every employee row, there is a status as per the provided above which will be used to display the current state of this employee and by clicking on another state e.g. APPROVED , it persist that change to this given employee

Install dependencies

yarn

Run the application

1- Run Rest API

cd json-mock-api
yarn
yarn json-server --watch src/db.json

2- Run Frontend Local

In the root directory run:

yarn start

Run tests

In the root directory run:

yarn run cypress open

Author

👤 Arwa Elmowafy

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator