Skip to content

srjchsv/simplebank

Repository files navigation

🏦 Educational project- simplebank🏦

Currently made:

  • Database schema design.
  • Generated CRUD queries using SQLC.
  • Implemented balance transfer transaction.
  • TX lock handled.
  • Unit and integration tests.
  • Github actions CI
  • REST api.
  • Authorization and authentification with https://github.com/srjchsv/service microservice.

Use make up

it would run simple-bank and make migrations and go to https://github.com/srjchsv/service to run auth service simplebank schema

Accounts management:

- POST signup `make signup`
- POST signin `make signin`
- GET get account by id `make get-account`
- PUT Update account by id  `make update-account`
- GET get accounts in batches `make get-accounts`
- DELETE delete account by id `make delete-account`

Balance transfers management:

- POST Transfer balance from-to account `make transfer`

Below is the postgres database schema:

simplebank database schema

Useful links: