This project was bootstrapped with Create React App. It features the Hacker News API and fetches the newest stories.
This app features:
- Offline capabilities
- Loading items as they arrive
- Infinite scroll
- Link out to the story's article
- Uses the Hacker News API
- Timestamps
In the project directory, you can run:
to install dependencies and then
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
This application uses a registered service worker; this worker only functions on a production build. To look at this feature first run:
Then run
This command will open the production build running an HTTP server locally. This step requires to install serve
(npm install serve
) if you do not have it installed already.
Open up the console once you open the webpage on the provided socket, and you should see the logs of the service worker. Once the page is fully cached, an alert will pop out to inform the user that the website is ready.
- Moment to parse date strings
- Axios for API calls
Thank you very much for checking out my project! ๐๐ปโโ๏ธ