Files
TheGame/README.md
Pacien Boisson 7747ff69d0 Architecture update (#7)
* Fix errors with profile_rank ENUM

* Upgrade to Hasura 1.2.1

* Rename Profile to Account

* Common JS package

* rm app-react/lib/did

* Better login management
2020-05-08 21:54:00 +02:00

914 B

The Game

Monorepo for the MetaGame applications, backend and databases.

Development

Install Packages

yarn

Bootstrap

cp .env.sample .env
yarn docker:start

If you want to locally start the backend server (not in docker) for development purposes, you can set this variable in the .env file: HASURA_GRAPHQL_AUTH_HOOK=http://host.docker.internal:4000/auth-webhook

Tooling

Start Hasura console

yarn hasura:console

Hasura CLI example

yarn hasura -- migrate squash 1586952135212

Hasura CLI documentation

Generate GraphQL Types

cd packages/graphql-codegen
yarn generate

Restart with fresh database

yarn docker:clean
yarn docker:start:local

Run typechecks

yarn typecheck