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=3117166ca50b7b2f54b972a6cfe092f05f658476772d9c0ccde99e6e178f56e63ef2201214011be7860a749828ff32bf58f2b9e656af98e756fec3ec963c47f7798a810d4da0e29fcd1b74774e105f46c1f15e9d56aaa8616016a09a1c41b78e473c47b602073ed66d27327dd0f939d352f5e6343c2c5dc80df2d79b42e21190c80b14d81ce174507de68eb50beac331b1b1e066b7cbb82941eea8bf1acd3c7b482865306b5499c51f34d0b05af3c77e3dd933ef5ad1d0dd053703cad47ce33188ace3766b69d8d0c7ac8f&a=w%3D720%26h%3D360%26fm%3Dpng%26q%3D75&cd=669ee8cbd26fabf76f879067b600b236)
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