An Simple bank API
docker compose up
To verify service is ready.
curl http://localhost:3000/readiness
# Required
# Example: export DATABASE_URL="postgres://admin:admin@localhost:5432/bank_service?sslmode=disable"
export DATABASE_URL=
# Optional
# Example: export SERVCE_ADDRESS=":4002"
export SERVCE_ADDRESS=
run postgresql db locally using docker-compose by running the following command:
docker compose up -d postgres
make migrate-up
make migrate-down
make migrate-create name=[ANY-NAME-YOU-WANT]
make generate
make vet
make lint
make test
make build