This is the api for the collage generation application.
Requires go 1.22^
-
Install sql-migrate:
go install github.com/rubenv/sql-migrate/...@latest -
Install sqlc:
go install github.com/sqlc-dev/sqlc/cmd/sqlc@latest -
Generate sqlc files:
sqlc generate -f ./internal/sqlc/sqlc.yml -
Run the tests:
make test -
Start the local server(ensure docker is installed and running):
make start
A postman collection is provided in the project root.