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.
Carry out the following steps:
-
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.
-
Navigate to the project directory locally by the command
cd [local repository]
-
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"
},
-
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 runningnpm install
if present. -
Now run
npm start
to run the app in the development mode.
This project is licensed under the MIT license.