- Install dependencies
yarn
- Run docker container
docker-compose up
- Run
cp .env.example .env
to create your .env file - To migrate the database and sync GraphQL schema run
yarn sync
Any prisma file changes will require to run migration to generate SQL migration.
To do so just run yarn db:migrate
. To apply migration run yarn db:up
.
And afterward don't forget to run yarn db:generate-prisma
to generate GraphQL types based on Prisma schema.
To run unit tests use yarn test