An open API service indexing awesome lists of open source software.

https://github.com/pktcodes/hacker-news-react-project

Hacker News Project using React
https://github.com/pktcodes/hacker-news-react-project

api context-api css3 ecmascript6 hacker-news hacker-news-api html5 javascript react react-hooks usecontext usereducer

Last synced: 4 months ago
JSON representation

Hacker News Project using React

Awesome Lists containing this project

README

        

# Hacker News 📰

> PROD [Live] : https://react-hacker-news-prod.netlify.app/

#### Hacker News consists of a straight forward user interface where there is a
- List of stories by default is set to fetch **REACT**, a search form to query for specific stories as we are typing.
- **Search form** to query for a specific category of stories and the stories matching the query are fetched on changing every word. If no matching stories are found, it returns nothing.
- To read more details of a specific story/article in the list, click on the **Read more**, and to remove a story from displaying on UI, click on **Remove**.
- Buttons have been implemented to move between different pages of the stories, **Prev** for going to the previous page and **Next** for going to the next page along with **page numbers**.
- To run the project locally, clone the repo, `npm install` to install the dependencies, and `npm start` to start up the development server on default port 3000.

#### Languages

HTML, CSS, JavaScript, ECMAScript, React ~ Context API - Hooks ~ useEffect, useReducer, useContext

#### API

https://hn.algolia.com/api

#### Deployment / Hosting

Netlify

---

_Note: I have developed this project ~ [22] as part of React and Projects Course taught by John Smilga._