This is a test project to explore Servant and Servant To Elm conversion. It is composed of 3 parts:
- The Servant Server that expose a very basic API
- An Elm client that query the API
- A generator command, that converts the API Servant Types into the Elm client Types
To run the server, from the root of the project:
stack run comuni-italiani-exe
[You need stack to run this]
To run the client, from the elm-client/comuni-client:
elm-app start
[You need elm to run this]
From the root of the project:
stack run comuni-italiani-code-gen
This will generate the client in the src/Generated folder.