This directory containts files and configurations for managing:
- (Postgres) Database schema
- hasura GraphQL Engine
Local development is enabled through docker container with a postgres instance and hasura graphql engine. You can start it up and apply all the configuration / schema by runnig following command:
⚠️ You will need to install docker in your system.
yarn start
Once docker container is running you can access local hasura console by running following command
hasura console
Originally we've initalized database from the init-tables.sql
file with a database schema by running following command:
asura migrate create init --sql-from-file ./artifacts/init-tables.sql --database-name default