Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 1.13 KB

README.md

File metadata and controls

55 lines (35 loc) · 1.13 KB

flux-challenge-elm

A solution to flux-challenge written in Elm.

First time setup

From the root of the repo:

$ yarn && cd backend && yarn && cd ..

Starting the app

You need to start both the backend and the frontend server. After starting them, the app is going to be available under http://localhost:8000.

The frontend server

Responsible for serving Elm code.

$ yarn start

The backend server

Responsible for serving siths & planets.

$ cd backend && yarn start

Running tests

$ yarn elm-test

Automatically re-run tests on code changes

$ yarn elm-test --watch

Formatting the Elm code

yarn format formats the code using elm-format. You can set up an editor integration so that your editor is going to run it automatically on save.

Solution

To view the complete solution to this challenge, start the servers and then go to http://localhost:8000/solution/staltz/.