Go to bank account data portal
Check out the docs
Ripped these vscode settings
Run a local Postgres instance:
docker run -d \
--name gogocardless-postgres \
-e POSTGRES_DB=gogocardless \
-e POSTGRES_USER=admin \
-e POSTGRES_PASSWORD=admin \
-p 5432:5432 \
postgres:latest
Run service that fetches data from gocardless:
go run ./cmd
Run frontend:
cd web
yarn install
yarn dev
Fire up the test database:
docker run -d \
--name gogocardless-postgres-test \
-e POSTGRES_DB=gogocardless-test \
-e POSTGRES_USER=admin \
-e POSTGRES_PASSWORD=admin \
-p 5431:5432 \
postgres:latest
Run tests:
go test ./...
- How many people are affected by the problem of not being able to pay their subscriptions?