m-x-k / cookiecutter-elm

Elm based cookiecutter with basic html example
3 stars 3 forks source link

Help generating elm file #2

Open afidegnum opened 7 years ago

afidegnum commented 7 years ago

Using cookiecutter, how do i generate an elm file ? i am building a form with few attributes which i want to genereate as an html file which will be use as a rest interface with Flask

any suggestion?

m-x-k commented 7 years ago

@afidegnum Using this cookiecutter example you can setup an Elm project from scratch. If you're intending on having Elm call an external rest endpoint served up using something like Flask I would have a look at using HTTP and Json.Decode:

Alternatively you could use node.js for the backend api: https://www.elm-tutorial.org/en/04-starting/06-webpack-4.html