Skip to content

Latest commit

 

History

History
52 lines (30 loc) · 2.23 KB

README.md

File metadata and controls

52 lines (30 loc) · 2.23 KB

Employee Directory

Description

This React app gives business professionals the ability to access their employees, and easily search, filter, and sort through their entire directory. For example, employers may search for specific employees via the search field, sort a field (Name, Email, DOB) in ascending or descending order. The employee directory is populated with randomly generated users via an API call to the Random User API. This API simply generates random user data, including - a photo, title, name, gender, age, e-mail and mobile phone number. This project was bootstrapped with Create React App.

About Page

Screen Shot 2021-03-23 at 2 12 06 AM

Employee Directory Page

Screen Shot 2021-03-23 at 2 12 32 AM

Table of Contents

Installation

Carry out the following steps:

  1. Clone this project repository locally. For steps on how to clone a repository using the command line, read this section of the Github Docs about cloning a repository.

  2. Navigate to the project directory locally by the command cd [local repository]

  3. Check package.json file and ensure scripts are notated as below:

"scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
  },
  1. Run the command npm install. Note: Make sure to delete the node_modules folder and any 'lock' files such as yarn.lock or package-lock.json before running npm install if present.

  2. Now run npm start to run the app in the development mode.

License

This project is licensed under the MIT license.