Skip to content

A serverless web-app that pulls Top-50 stories and their corresponding comments from Hacker News API and displays them in a user friendly layout.

License

Notifications You must be signed in to change notification settings

EugeCos/hacker-news-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Synopsis

A serverless web-app that pulls Top-50 stories and their corresponding comments from Hacker News API and displays them in a user friendly layout.

Live Demo

Link to App: Hacker News Light

Please wait for up to 15 seconds as the free Heroku server fires up for the app.

Installation

$git clone https://github.com/EugeCos/hacker-news-api.git
$ cd PROJECT

$ npm install

Start & watch

$ npm start

Simple build for production

$ npm run build

API Reference

https://hacker-news.firebaseio.com/v0/topstories.json
for top 500 stories

https://hacker-news.firebaseio.com/v0/item/8863.json
for individual story or individual comment


Tools

  • ReactJS - main library
  • LESS - CSS preprocessing
  • Webpack - watch and compile LESS files
  • Axios - API calls
  • Material UI - framework for some front-end elements
  • Moment - for date and time display
  • React TransitionGroup - for smooth transition between page elements during navigation

Timeline

November 21-24, 2018

Contributors

Licence

Hacker News Light is available under MIT.

About

A serverless web-app that pulls Top-50 stories and their corresponding comments from Hacker News API and displays them in a user friendly layout.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published