elm-land-lamdera-auth-tailwind-template icon indicating copy to clipboard operation
elm-land-lamdera-auth-tailwind-template copied to clipboard

Template for a simple elm-land, lamdera and google auth start up

elm-land/lamdera/auth/tailwind

Template for starting your next awesome project with Lamdera, Elm Land together with Auth and Tailwind

Local development

Setting up the environment

  • create a project based on this template
  • add the googleAppClientId and googleAppClientSecret that you get from the Google Console into Env.elm
  • in the Google Console, add http://localhost:8000/login/OAuthGoogle/callback as the redirect URL
  • npm install

Starting the local dev servers

We need to start both lamdera live and elm-land server together with the watcher for tailwind. This is all done in one step with the awesome run-pty so all you need to do is just run

npm start

And open up the running project at http://0.0.0.0:8000