Servant template for a SPA in Elm with authentication through Auth0
Note: requires https://github.com/state-machine-io/auth0 as a peer (../auth0)
This project uses stack:
stack build
Just run yarn to set up.
yarn install
Uses stack exec and parcel-js under the hood.
./bin/server <configFile>
Thanks to Andrew Newman for inspiration and support.
The authentication code is loosely based off the examples at https://github.com/haskell-servant/servant-auth.
Auth0 api calling code handily provided by alsconnect.