-
Create .env using .env.sample as example
-
Start docker containers
make
-
View logs
make logs
-
Visit
localhost:4000/
to check if API is responding -
Stop docker containers
make down
Create new migrations
goose -dir sqlc/schemas create <migration_name> sql
Run migrations
env $(cat .env) make migrate
Rollback migrations
env $(cat .env) make rollback
make gen-models
make test
MIT © 2020 Gerald Png