Projects / Containerized Banking REST Service

Containerized Banking REST Service

A secure, double-entry banking API with a React dashboard, shipped as containers.

An asynchronous FastAPI backend with double-entry ledger rules, JWT authentication and IDOR protection, plus a React front end. Everything runs with one Docker Compose command behind Nginx.

  • Python
  • FastAPI
  • React
  • SQLAlchemy
  • Docker
  • JWT
  • Pytest

How it's built

  1. 01 · React client

    Screens for accounts and transfers.

    Why: It talks only to the authenticated API.

  2. 02 · Nginx

    Serves the client and proxies the API inside Docker Compose.

    Why: One command brings up the whole stack.

  3. 03 · Auth

    JWTs that expire after 15 minutes, and bcrypt-hashed passwords.

    Why: Authorization checks and IDOR protection stop anyone reaching another user's account.

  4. 04 · Ledger

    Double-entry rules for every transfer.

    Why: Money is never created or lost, because every debit has a matching credit.

  5. 05 · Storage

    Async SQLAlchemy over SQLite.

    Why: Accounts and transactions persist across restarts.