Joey-z-rp / HN_Search

Search stories and comments on Hacker News

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Search Hacker News

This project is for searching hacker stories and comments through APIs provided by Hacker News.

The application is hosted here.

Features

After the page is loaded, type in the content you want to search and pause, a search will be triggered. Hitting Enter key or clicking on the Search button will also fire the search.

The results are returned in paged format. You can navigate around through the pagination bar under the results. Search text will be highlighted in the results.

You can change the search settings by clicking on the gear icon at top right corner. After changing the settings, please click Apply button on the side panel and a search request with new settings will be sent.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

npm test

Launches the test runner and run all the tests.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

Main Tech Stacks used

React

To construct UI components

Redux

To manage state for components, handle events

Express

To serve static contents

Jest

To run tests and provide test coverage

About

Search stories and comments on Hacker News


Languages

Language:TypeScript 90.1%Language:JavaScript 7.9%Language:HTML 1.0%Language:CSS 1.0%