Skip to content

elm app demo with webpack, routing and mock http server

Notifications You must be signed in to change notification settings

safhac/elm-app-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elm app demo

rtfeldman/elm-css

evancz/url-parser & elm-lang/navigation

ryanolsonx/elm-mock-http

elm-webpack-starter

About:

A demo app with generic features of a commercial app

  • Webpack
  • Elm Css
  • Routing
  • Json Decoding

User

  • Log in/out and registration

Product (or Items/Posts)

  • Mock server calls and json decoding
  • Filtering and sorting operations

Install:

git clone [email protected]:safhac/elm-app-demo.git my-elm-project
cd my-elm-project

Re-initialize the project folder as your own repo:

rm -rf .git         # on Windows: rmdir .git /s /q
git init
git add .
git commit -m 'first commit'

Install all dependencies using the handy reinstall script:

npm run reinstall

This does a clean (re)install of all npm and elm packages, plus a global elm install.

Serve locally:

npm start
  • Access app at http://localhost:8080/
  • Get coding! The entry point file is src/elm/Main.elm
  • Browser will refresh automatically on any file changes..

Build & bundle for prod:

npm run build
  • Files are saved into the /dist folder
  • To check it, open dist/index.html

About

elm app demo with webpack, routing and mock http server

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published