Skip to content

hasura/build-with-hasura-byp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Welcome to the BYP project

What's BYP? BYP stands for "Backyard Pizza Project" - but more importantly, it's a "food ordering" application for building and ordering Pizzas made in your backyard.

Is it contrived? Yes.

What's it actually for? I'm so glad you asked.

While not everyone is about to open an exclusive, artisinal, pizza studio in their back yard, this demo application attempts to be three things.

  1. A reference app for the getting started with Hasura BYP series
  2. A practical example of working with authorization, events, and subscriptions with hasura
  3. A sample repo for "take-what-you-need" code

Get started here

The sample application is the code-counterpart of a 20 part video series which you can find here.

  1. Intro to creating a full-stack food ordering app with Hasura and NextJs
  2. Create a local Hasura project w/ tracking metadata & deploy to Hasura Cloud with GitHub Integration
  3. Add frontend framework NextJS and deploy to Vercel with Github and the Hasura-Vercel integration
  4. Fetching data from Hasura into Nextjs, local and cloud
  5. Using GraphQL client URQL to fetch data from Hasura
  6. Using GraphQL Code-Generator to generate types from our Hasura API
  7. Adding TailwindCSS to our Hasura-NextJS app
  8. Adding “do-not-edit” labels to Hasura Cloud
  9. Using Hasura for server state and Zustand for local state in NextJS (add refresh token docs link)
  10. Creating authentication action handlers for Hasura with NextJS
  11. Adding NextJS action handlers to the Hasura API
  12. Managing permissions in Hasura for good data disclosure policy
  13. Calling our Hasura action from the front-end
  14. Deploying to Hasura Cloud with the Hasura CLI and an introduction to Hasura metadata squash
  15. Creating Pizzas and working with generated URQL React hooks from the Hasura API
  16. Adding enums to Hasura
  17. Working with GraphQL Fragments in Hasura
  18. Adding realtime GraphQL subscriptions from the Hasura API
  19. Advanced permissions with role based tables
  20. Closing up the backyard pizza project beginner’s guide

Where to get help

Things are abound to change over time, but if you need help, reach out on Discord if you have any questions.

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.0%
  • JavaScript 3.2%
  • PLpgSQL 1.3%
  • CSS 0.5%