newmana / servant-elm-auth0

Servant template for a SPA in Elm with authentication through Auth0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

servant-elm-auth0

Servant template for a SPA in Elm with authentication through Auth0

Building

Note: requires https://github.com/state-machine-io/auth0 as a peer (../auth0)

Servant

This project uses stack:

stack build

Elm

Just run yarn to set up.

yarn install

Running

Uses stack exec and parcel-js under the hood.

./bin/server <configFile>

Thanks

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.

About

Servant template for a SPA in Elm with authentication through Auth0

License:MIT License


Languages

Language:CSS 93.0%Language:Haskell 5.7%Language:HTML 1.1%Language:Elm 0.1%Language:Shell 0.1%Language:JavaScript 0.0%