Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.46 KB

README.md

File metadata and controls

45 lines (32 loc) · 1.46 KB

This project was bootstrapped with Create React App and hosted on Heroku

Search Engine

A search engine made with react to search hacker news for stories with ability to view, remove stories from list and sort

Getting Started

You can view live demo on View Live Demo

App features

  • Searching and caching of previous search terms
  • Sorting including reverse sorting
  • Paginated and lazy loading
  • Ability to remove previous read or unnnecesary stories

Run Locally

  1. Clone project
  2. cd project directory
  3. install dependencies for react for more info visit React official doc
  4. npm start
  5. Open [http://localhost:3000]

Run Test

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"

Aknowledgements

Thanks facebook development team for creating "React" and thanks "Robin Wieruch" for your amazing book guys check it out on Amazon