Skip to content

Files

34 lines (22 loc) · 484 Bytes

README.md

File metadata and controls

34 lines (22 loc) · 484 Bytes

The Good Corner

Development

Run app in watch mode:

docker compose build && docker compose watch

In parallel, follow log output with:

docker compose logs -f

Run tests

Run tests in watch mode:

docker compose exec back-end npm run test:watch

Setting web-app types after GraphQL

Generate query-specific types for web-app development:

cd web-app
npm run graphql-codegen

These types can then be used in Apollo queries and mutations.