Skip to content

This repo walks through the steps for implementing a Real-time Polling App with Hasura Cloud and Yugabyte Cloud.

Notifications You must be signed in to change notification settings

mrajcevic01/yugabyte-hasura-cloud-workshop

 
 

Repository files navigation

GraphQL Workshop for getting started with Yugabyte Cloud

This repo provides instructions for Hands-on workshop for building GraphQL Applications with Hasura cloud instance configured with Yugabyte Cloud.

Prerequisites

  • Basic Understanding of GraphQL
  • Basic familiarity with YugabyteDB fundamentals - https://docs.yugabyte.com/latest/explore/
  • Basic familiarity with Hasura GraphQL Engine
  • Basic experience with NodeJS programming
  • IDE/Editor of choice - Sublime or IntelliJ or Visual Studio Code

Technical Requirements

what we will build in this workshop?

The Realtime Poll application is built using React and is powered by Hasura Cloud Instance over YugabyteDB Cloud. It has an interface for users to cast vote on a poll and the results are updated in the on-screen bar chart, in real-time.

The application makes use of Hasura GraphQL Engine's real-time capabilities using subscription. There is no backend code involved. The application will use Hasura Cloud + Yugabyte Cloud for running the GraphQL Queries.

Realtime Poll application

Agenda

  • Overview of GraphQL Applications using Hasura and YugabyteDB
  • Hands on session for Implementing a real-time poll application
    • Setup the Hasura + YugabyteDB cloud connectivity
    • Running migrations to setup schema for real-time poll application in YugabyteDB database
    • Updating nodejs application to use Hasura Cloud Instance
    • Running the real-poll application
  • Tuning and performance of GraphQL Queries
  • Do's and Don't for GraphQL queries with YugabyteDB

Workshop Hands-on Session

Steps for running the hands-on session can be found here.

Session Slides

Session slides can be found here

About

This repo walks through the steps for implementing a Real-time Polling App with Hasura Cloud and Yugabyte Cloud.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 50.4%
  • PLpgSQL 35.7%
  • HTML 7.7%
  • CSS 5.3%
  • Dockerfile 0.9%