/elm-spa-example

A Single Page Application written in Elm

Primary LanguageElmMIT LicenseMIT

RealWorld Example App

👉 I gave a talk, Scaling Elm Apps, to explain the principles I used to build this. I highly recommend watching it!

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

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 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.)