Skip to content

Search engine made with react without any external state management libraries

Notifications You must be signed in to change notification settings

Seunkola/search-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Search engine made with react without any external state management libraries

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published