Let's Go Further book code
# Install the migrate CLI tool.
curl -L https://github.com/golang-migrate/migrate/releases/download/v4.15.1/migrate.linux-amd64.tar.gz | tar xvz
mv migrate.linux-amd64 /usr/local/bin/migrate
# Copy and fill .env file
cp .env.example .env
# Run migrations
make db/migrations/up
# Validate and install vendor libraries
make vendor
make audit
make run/api
make build/api