mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-01-22 20:58:01 -05:00
899335594ac96b5b0280e767c9950feeb3e85c3c
* trying to fix Backend docker image with lerna * fix dockerfile CMD * Fix Dockerfile build * Fix 3box types Co-authored-by: Hammad Jutt <jutt@ualberta.ca>
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
Generate GraphQL Types
cd packages/graphql-codegen
yarn generate
Restart with fresh database
yarn docker:clean
yarn docker:start:local
Run typechecks
yarn typecheck
Description
Languages
TypeScript
96.4%
JavaScript
2.5%
Dockerfile
0.8%
PLpgSQL
0.2%
SCSS
0.1%