Skip to content

devnacho/front-vientus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vientus front end in Elm

Redesigning Vientus front end in Elm to learn how to use Elm in Production.

App in Production

Things to learn:

  • Production App Code structure
  • Use of Elm-css
  • Communication of Elm with a REST API
  • Interop between Elm & Js
  • I18N

Install:

npm install

If you haven't done so yet, install Elm globally:

npm install -g elm

Install Elm's dependencies:

elm package install

Serve locally:

npm start
  • Access app at http://localhost:8080/
  • Get coding! The entry point file is src/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
  • To publish new changes to amazon run:
aws s3 sync dist s3://www.vient.us

About

Vientus Front End in Elm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published