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.
- 23 Pytest assertions
- JWT · 15-minute expiry
- Docker Compose
How it's built
01 · React client
Screens for accounts and transfers.
Why: It talks only to the authenticated API.
02 · Nginx
Serves the client and proxies the API inside Docker Compose.
Why: One command brings up the whole stack.
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.
04 · Ledger
Double-entry rules for every transfer.
Why: Money is never created or lost, because every debit has a matching credit.
05 · Storage
Async SQLAlchemy over SQLite.
Why: Accounts and transactions persist across restarts.