This project was bootstrapped with Create React App and hosted on Heroku
A search engine made with react to search hacker news for stories with ability to view, remove stories from list and sort
You can view live demo on View Live Demo
- Searching and caching of previous search terms
- Sorting including reverse sorting
- Paginated and lazy loading
- Ability to remove previous read or unnnecesary stories
- Clone project
- cd project directory
- install dependencies for react for more info visit React official doc
- npm start
- Open [http://localhost:3000]
The test consits of snapshots test with Jest and unit test with enzyme. This tests include
- Test app rendering without crashing
- Test header search function
- Test List display components to validate list are properly returned
- Test the update search function
finally run test with the following command
"npm test"
Thanks facebook development team for creating "React" and thanks "Robin Wieruch" for your amazing book guys check it out on Amazon