This is an application that uses the Torre API endpoints to search for individuals and then displays matching individuals to the search term entered into the app. The app also enables one to see the last 10 most recent searches as well as add and/or remove favorite matching individuals from the search results. The app is responsive and works well on different screen sizes and devices such as mobile phones and tablets.
-
If I had more time, I would consider the following additional improvements:
-
Implement notifications/alerts.
This will greatly enhance the user experience for users when it comes to guidance in the usage of the app or in error handling. This can be done using alerts and modals.
-
Implement a loading widget. This will help in letting the user know when data is being fetched.
-
Implement accessibility best practices.
This will make the app much more useful to people with disabilities. This can be done by using semantic HTML and keyboard navigation.
-
Implement thorough testing (i.e. unit, integration and end-to-end testing).
This will ensure that bugs are caught way before they make their way to production.
-
This application was built as part of a technical test with the following requirements:
-
Construct a page allowing users to search for names, displaying a list of matching individuals. Take inspiration from the torre.ai search.
-
Upon clicking a search result, users should be directed to their genome. This can be either directly on torre.ai or through your own implementation.
Additionally, implement one or both of the following features:
- Display a list showcasing up to 10 of the most recent search queries.
- Provide an option for users to save or favorite individuals and ensure this list is easily accessible.
- React.
- Redux.
- Create React App.
- Twitter Bootstrap.
- Torre Genome Information endpoint.
- Torre People Search endpoint.
Click here to visit a live version of the web app which has been deployed to Netlify.
To get a local copy up and running follow these simple example steps.
- Node.
- NPM.
- Javascript.
- React.
- Clone the repository by running
https://github.com/krys2fa/search-app.git
in your terminal or command line. - Change directory (i.e. enter
cd search-app
in your terminal) into the project folder. - Run
npm install
to install dependencies. - Run
npm start
to start the development server. - Visit the URL at http://localhost:3000/ to test the application.
To run tests,
- Run
npm test
in the project directory in your terminal or command line.
👤 Christopher Amanor
- Github: @krys2fa
- Twitter: @krys2fa
- Linkedin: Christopher Amanor
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Kindly give this repository a ⭐️ if you like this project!
- Project specifications by Torre.
This project is licensed under the MIT License.