TorbatYar/backend
Mortezakoohjani 4ae54abb26 Keep accounting sessions alive with Keycloak lifespan and forced token refresh.
Raise realm access/SSO timeouts and stop sending expired JWTs when refresh fails.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-24 16:29:36 +03:30
..
core-service Ship enterprise Accounting FE/API with CRUD parity and production wiring. 2026-07-24 15:26:43 +03:30
services Keep accounting sessions alive with Keycloak lifespan and forced token refresh. 2026-07-24 16:29:36 +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