srjchsv / simplebank

Simplebank backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🏦 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:

About

Simplebank backend


Languages

Language:Go 90.9%Language:Makefile 8.0%Language:Dockerfile 1.2%