API build on top of the Go, Postgres, Echo and sqlx. All infra tasks (start API, install deps, generater Swagger etc.) are managed by Task cli. To install it run the following command:
sudo ./scripts/install-task.sh
This command installs task
to /user/local/bin/task
so sudo is needed.
- Initiliaze
.env
file with development defaults by:
task init:env
- Install additional tools:
task install:tools
- Start database
task start:postgres
- Apply migrations
go run cmd/migrate/main.go
- Start dev server with autoreload
task dev