Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kraklin/elm-land-lamdera-auth-tailwind-template
Template for a simple elm-land, lamdera and google auth start up
https://github.com/kraklin/elm-land-lamdera-auth-tailwind-template
Last synced: about 1 month ago
JSON representation
Template for a simple elm-land, lamdera and google auth start up
- Host: GitHub
- URL: https://github.com/kraklin/elm-land-lamdera-auth-tailwind-template
- Owner: kraklin
- Created: 2023-11-14T15:59:49.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-15T09:39:07.000Z (about 1 year ago)
- Last Synced: 2024-12-01T12:34:55.534Z (about 1 month ago)
- Language: Elm
- Size: 170 KB
- Stars: 20
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# elm-land/lamdera/auth/tailwind
> Template for starting your next awesome project with [Lamdera](https://lamdera.com/), [Elm Land](https://elm.land) together with [Auth](https://github.com/lamdera/auth) and [Tailwind](https://tailwindcss.com/)## 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](https://github.com/lydell/run-pty/) so all you need to do is just run
```sh
npm start
```And open up the running project at `http://0.0.0.0:8000`