Pacien Boisson 899335594a [WIP] Fix docker with lerna (#8)
* 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>
2020-06-08 00:49:39 -06:00
2020-05-13 02:02:21 -06:00
2020-05-13 02:02:21 -06:00
2020-06-08 00:49:39 -06:00
2020-06-08 00:49:39 -06:00
2020-04-16 10:20:15 +02:00
2020-04-16 10:20:15 +02:00
2020-04-16 10:20:15 +02:00
2020-06-08 00:49:39 -06:00
2020-06-08 00:49:39 -06:00
2020-06-08 00:49:39 -06:00
2020-05-08 21:54:00 +02:00
2020-06-08 00:49:39 -06:00

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
Description
No description provided
Readme 304 MiB
Languages
TypeScript 96.4%
JavaScript 2.5%
Dockerfile 0.8%
PLpgSQL 0.2%
SCSS 0.1%