TorbatYar/backend
Mortezakoohjani 9fac160258 feat(payment): ship Torbat Pay MVP phases 14.0-14.5
Add independent payment-service (port 8012, payment_db) with foundation licensing, BYO-PSP, merchant accounts, idempotent requests, callbacks, and immutable ledger.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-27 17:57:04 +03:30
..
core-service feat(platform): seed service registry, deploy all modules, and fix homepage catalog. 2026-07-27 12:39:51 +03:30
services feat(payment): ship Torbat Pay MVP phases 14.0-14.5 2026-07-27 17:57:04 +03:30
shared-lib Complete Accounting sidebar modules with ops CRUD, BFF proxy, and treasury APIs. 2026-07-24 16:10:06 +03:30
README.md Ship enterprise Accounting FE/API with CRUD parity and production wiring. 2026-07-24 15:26:43 +03:30

Backend

تمام کد منبع backend فقط در این پوشه قرار دارد.

Structure

backend/
├── core-service/   # Core Platform (FastAPI) — Active
├── shared-lib/     # Shared backend library
└── services/       # identity-access (Active) + future module placeholders

Rules (mandatory)

Run Core

cd backend/core-service
python -m venv .venv
pip install -r requirements.txt
alembic upgrade head
uvicorn app.main:app --reload

Tests

cd backend/core-service
pytest -q