Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ffos/elm-tutorial-app

Open more actions menu
 
 

Repository files navigation

An example SPA in Elm

An example Elm single page application built for http://www.elm-tutorial.org/

This application demonstrates

  • The Elm architecture
  • Routing
  • Ajax requests and Json parsing
  • External CSS

This application uses

Setup

Install global packages

npm install -g foreman

Foreman is a package that allows running several servers with one command.

Install the local node packages:

npm install

Running the application:

nf start

Open http://localhost:3000

Possible improvements

  • Add player
  • Delete players
  • Change player name
  • Show error messages
  • Optimistic updates
  • List of perks
  • Show perks for player
  • Validation for player name when empty
  • Search box for perks
  • Tests
  • When deleting a player delete associated perksPlayers

About

An example Elm single page application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Elm 84.5%
  • JavaScript 13.9%
  • HTML 1.6%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.