A Hacker News clone built with React, styled-components, and TypeScript.
- View a list of news articles and discussions from the Hacker News API.
- Sort articles by various criteria, including score, date, and comments.
- Search for articles and discussions by keyword.
- View individual articles and discussions in more detail, including comments and related articles.
- Responsive design for optimal viewing on desktop and mobile devices.
- Clone the repository:
git clone https://github.com/Renszit/hackernewsclone.git
- Install dependencies:
cd hackernewsclone
npm install
- Create a .env.local file in the root of the project and add the following:
REACT_APP_API_BASE_URL=https://hacker-news.firebaseio.com/v0
- Start the development server:
npm start
- Open your web browser and go to http://localhost:3000.