A simple clone of Hacker News, built with React, Hooks, React Router, Webpack and TypeScript. It uses the Hacker News API. Has a dark theme implemented with Context. Hosted at Netlify.
Is the final exercise of the React with TypeScript course of ui.dev.
- Started as the final exercise of the React course (course website and GitHub repo).
- Then I converted it to hooks at the React Hooks course (course website and GitHub repo).
- Finally, I converted it to TypeScript at the React with TypeScript course (course website and GitHub repo).
Exercise instructions/requirements:
- https://github.com/uidotdev/react-course-curriculum
- https://github.com/uidotdev/react-hooks-course-curriculum
- https://github.com/uidotdev/react-with-typescript-curriculum
A live version of the official solution is available at https://hn.ui.dev
The official solution code is available at https://github.com/uidotdev/react-with-typescript-curriculum/tree/solution
Hacker News API information: https://github.com/HackerNews/API
To develop: npm run start
and open http://localhost:8080
To build for production: npm run build