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?u=https%3A%2F%2Fgatsbycontent.wpengine.com%2Fwp-content%2Fuploads%2F2022%2F08%2Fscreenshot.png&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