Skip to content

A demo app of a hybrid "party" and "teams" service

Notifications You must be signed in to change notification settings

abletech/parteam-demo

Repository files navigation

Parteams Demo App

A demo app of a hybrid "party" and "teams" service

Requirements

Getting started

Run the following to get the graphql-engine and postgres containers started:

docker-compose up

Following along

You can follow the corresponding blog article to get the metadata/migrations/seeds set up yourself. Alternatively, see the below section to apply the included migrations and metadata.

Apply migrations and metadata

If you don't want to follow the blog article, or just want to get the "Parteams" service up and running, you can run the following commands:

  1. Apply the metadata - note: this will result in inconsistencies whilst the database doesn't have the correct tables set up (we need to apply metadata first so Hasura knows where to look for the database).
hasura metadata apply
  1. Apply the migrations - this will create the tables, indexes and foreign keys.
hasura migrate apply
  1. Reload the metadata - this should hopefully remove the inconsistencies created in 1) now that our tables etc. exist.
hasura metadata reload
  1. Apply the seeds - this will create some mock data that you can query on:
hasura seed apply

About

A demo app of a hybrid "party" and "teams" service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published