All Starters
gatsby-starter-typescript-auth0-hasura
Install with gatsby-cli
npx gatsby new gatsby-starter-typescript-auth0-hasura https://github.com/whitebrick/gatsby-starter-typescript-auth0-hasura
![Screenshot of gatsby-starter-typescript-auth0-hasura](/_gatsby/image/71dca84423c0db9340dd9b223727b6a5/39fd0bd06584ecb5e2e8fa458de687cb/screenshot.png?eu=8e71ca2bdd1818da21dff6ae174fce8899a48dfbb42d0da94a0e8e6f3e757fc31fb8d34e407e17549179a5658beca18c5db9f38e2af72d05a88f8d71c96dd9dfdf8650765b42938f82df64d37fdee35b812eb5e669f9787658c78f4ace71703c1c7d4c39ad91bbe8236a74eaeae1daad8ca36a71562d313dda795d8d94509dd870ef0272c878062915f43f2be326c43f24dd9968c1687e7714876fcf9ae080a5c04a12&a=w%3D720%26h%3D360%26fm%3Dpng%26q%3D75&cd=a63010b2cf1da3bc2bfdfe17f3077bbb)
This starter provides a simple Admin page styled with Bootstrap that: (1) authenticates via Auth0 OAuth 2.0 to obtain a JWT; and (2) uses the JWT in the request header to make simple GraphQL query and mutation requests to Hasura.
- TypeScript
- auth0-react for Auth0 OAuth 2.0 authentication with JWTs
- urgql for the GraphQL client
- react-bootstrap and react-feather for styling
Tags
Community