The Ultimate Elm Haskell Stack Builder!

Note: This repo will be well-maintained and used heavily. (LOL) Contributors are always welcome!

Issue Tracker

Please see:

https://waffle.io/smaccoun/elm-haskell-scaffold

Stack

This stack is built on:

Front-End

  • Elm

Back-End

  • Haskell
    • Servant
    • Opaleye
  • Postgres (DB)

Ops

  • Docker
  • Shell for auto building entire stack (Shake?)
  • Elastic Beanstalk
  • CircleCI
  • Yarn

Codegen

  • (servant-elm) ???
  • custom ?? (utilize RemoteData in codegen)
  • swagger gen

Documentation

  • Swagger

Eventually it will include a Lego Style Architecture with branches for quickly scaffolding common apps

Branches:

  • base
    • auth0
    • Mailchimp example
    • Image storage

Setup

TODO: Make bash shell script or haskell setup script or Makefile to build entire stack plus setup env variables and DB etc

--TODO: Initialize DB

--Startup back-end API

$ cd back-end
$ stack build
$ stack exec project-exe

--Startup front-end
$ cd front-end
$ yarn install
$ yarn start

then go to localhost:3000