Frontend for hacker news
View Demo
Table of Contents
Small responsive web application, made with Nextjs and using the HackersNews public API
The web application displays the latest posts on the HackerNews api, allowing the user to filter by technologies and save their favorite posts. It also uses infinite scroll as pagination and SWR to cache the requests made, for better user experience and less loading times.
The project also uses Storybook for component documentation and Jest for testing.
To get a local copy up and running follow these simple steps.
Have node package manager of choice
-
npm
npm install npm@latest -g
or
-
yarn
npm install --global yarn
-
Clone the repo
git clone https://github.com/facundoPri/hacker-news-frontend-challenge
-
Install NPM packages
npm install
or
yarn
-
Run project on localhost
npm run dev
or
yarn dev
-
Run project storybook
npm run storybook
or
yarn storybook
Facundo Prieto - [email protected]
Project Link: Hacker news fontend challenge