This application is a employee directory created with React.
- Live Website: https://seattlesal-employee-directory.herokuapp.com/
- Github Link: https://github.com/SeattleSal/employee-directory-react
AS a manager or employee I WANT to be able to view my entire employee directory at once SO THAT I have quick access to their contact information
Given a table of random users generated from the Random User API, when the user loads the page, a table of employees should render.
The user should be able to:
-
Sort the table by at least one category
-
Filter the users by at least one property.
This project was bootstrapped with Create React App.
Additional dependencies are:
- axios for making API calls
- bootstrap for styling elements
- react-bootstrap for styling the drop down.
- fontawesome for phone and mail icons.
There is a package.json
included, the following commands should be run to install dependencies:
npm i
Use the links above to use the application live. If you prefer to run the application from your computer, you can use the following command after installing the dependencies:
npm start
The application displays a one page application listing the 25 random employees and their name, email, phone number and location. The user can search by first name and last name. The user can sort by first name or by last name. The user can contact the employoee by clicking on the phone number to call them or clicking on the email to start an email.
See Screenshots:
Directory:
Sort Options:
MIT License
Copyright (c) [2021] [Sally Perez]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.