Currency Conversion API

Case study that makes the currency conversion and money transfer between user wallets.

  • Create token with test credentials (Create Token)

  • Create different wallets by specifying the currency (Create Wallet)

  • Get 3 minutes valid offer with a currency against another currency (Create Quote)

  • Transfer your money between your wallets (Create Transfer)

  • Additional you can list your wallets and transactions (List Wallets), (List Transactions)


Build & Run

cd scriptsdocker-compose up -d

Push Images

cd scriptsdocker-compose push

Generate Mocks

cd services/{serviceName}go generate ./...

Test

cd services/{serviceName}go clean -testcache go test -race -v ./...

Doc

cd services/{serviceName}godoc -http=:4444 .

Linter (golangci-lint)

cd services/{serviceName}golangci-lint run -v

Swagger UI

http://localhost:8080

GitHub

View Github