Skip to content

kevinsalter/elm-tutorial-app

 
 

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

No packages published

Languages

  • Elm 84.5%
  • JavaScript 13.9%
  • HTML 1.6%