- Mockgen to generate fake implementation of the interface
- Docker and Docker Compose for dcokerize the app
- Migrate for migration tool
all command is mostly wrapped on Makefile
for simplicity
-
run database
make docker-compose-up-local
-
run the migration file
migration-up
-
run the app
go run main.go
migration-up
: up migrationmigration-down
: delete last migrationcoverage-test
: run coverage testopan-api
: run swaggerdocker-compose-up-local
: start containerdocker-compose-down-local
: stop container
- import request collection on path
/api/request-collection.json