- Write test
- Setup Github CI
golangci-lint, apache benchmark, newman, go-cleanarch
setup data
create table from file data\postgres\migrations\init.sql
insert data from file data\postgres\migrations\payment_public_account.sql
make bin/money
make up
server running on localhost:8000
swagger ui running on localhost:80
- Get the user's current balance.
- Get the transaction history of the account.
- Transfer funds from user to user.
- Debit or credit of funds from account.
- Converting balance to other currencies.
- Use Credit/Debit transaction account, Transaction(id, account_id uuid, credit int, debit int, desc: string)
The user rarely looks at the entire transaction history when sorting by any gender. Therefore, it is possible to save data for users and update it during financial transactions.