This is a template project with a simple MikroORM setup with graphql-tools and codegen.
- Install dependencies via yarn
- Create your docker containers via
docker-compose up -d
- create .env file based on .env.example
PORT=8080
POSTGRES_USER=root
POSTGRES_PASSWORD=root
POSTGRES_DB=postgres
NODE_DEV=false
- Seed database
yarn seed
- Generate graphql schema for resolver typesafety
yarn generate
yarn start
oryarn dev
- GraphQL Playground is running on
localhost:8080/graphql
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.