This is a golang project template using entgo and gqlgen heavaly inspired by this blog post.
Make sure docker-compose
is installed on your system
docker-compose up -d
The development server supports live reloads using air
make start
First setup the database for testing
make test_setup_db
The tests can be executed via make
make test # without coverage
make test_cov # with code coverage saved to ./coverage
First setup the database for E2E testing
make e2e_setup_db
The E2E tests can be executed via make
make e2e