Skip to content

alpacaaa/elm-hn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hacker News clone powered by Elm + elm-navigation + GraphQL.

elm-hn screenshot

Live version: https://elm-hn.surge.sh

Features

It might take a few seconds to get a response from the server, so old tight! All errors are displayed on screen.

The backend api is a bit quirky in that it doesn't return all the results and has some inconsistencies in the data shown. Because of this, some of the JSON decoders are quite tricky and studying them can be a good exercise for new comers. The point of this projects is to work on a real Elm app so I'm not too worried about what gets returned by the api.

Running

Make sure you have create-elm-app installed:

npm install -g create-elm-app

Run dev server with:

elm-app start

Build in dist folder:

elm-app build

Inspired by react-hn

Releases

No releases published

Packages

No packages published

Languages