-
Language: Python 3.12
-
Framework: FastAPI
-
Data base: PostgreSQL
-
ORM: SQLAlchemy
-
Migrations: Alembic
-
Containerization: Docker / Docker Compose
Run the application via Docker Compose sudo docker compose up -d --build
Run application tests sudo docker compose exec web pytest -v
To run the application locally, you can use run_server.sh
URL for manual testing
http://localhost:8000/docs
PostgreSQL uses port 5432
-
/api/v1/wallets/{wallet_id}get wallet balance by wallet_id -
/api/v1/wallets/{wallet_id}/operationsend request (DEPOSIT/WITHDRAW) to update Wallet.balance -
/api/v1/wallets/addadd new Wallet to database