github

rtfeldman / elm-spa-example

  • среда, 10 мая 2017 г. в 03:12:20
https://github.com/rtfeldman/elm-spa-example

Elm
A Single Page Application written in Elm



RealWorld Example App

Elm codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.

Demo    Demo with Time-traveling Debugger    RealWorld

This codebase was created to demonstrate a fully fledged fullstack application built with Elm including CRUD operations, authentication, routing, pagination, and more.

For more information on how to this works with other frontends/backends, head over to the RealWorld repo.

How it works

Check out the full writeup!

Getting started

If you don't already have elm and elm-live:

npm install -g elm elm-live

Then, to build everything:

elm-live --output=elm.js src/Main.elm --pushstate --open --debug

(Leave off the --debug if you don't want the time-traveling debugger.)