TorbatYar/backend/services/README.md
Mortezakoohjani 800b0ba2c5 Deploy TorbatYar for torbatyar.ir with nginx multi-tenant routing.
Wire production domain, CORS for tenant subdomains, celery volume mounts, and nginx reverse proxy configs for apex, API, identity, auth, and wildcard tenants.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-21 21:43:33 +03:30

14 lines
876 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# services/ — سرویس‌های آینده (Placeholder)
این پوشه شامل placeholder سرویس‌های آینده پلتفرم است. در **فاز ۱** هیچ‌کدام
پیاده‌سازی نشده‌اند و فقط README مسئولیت‌ها موجود است.
هر سرویس در فازهای بعدی طبق اصول معماری زیر ساخته می‌شود:
- **Database-per-service:** هر سرویس دیتابیس مستقل خود را دارد.
- همه جداول بیزینسی ستون `tenant_id` دارند.
- ارتباط بین سرویس‌ها فقط از طریق REST API، Webhook، Async Event و الگوی Outbox/Inbox.
- ارتباط مستقیم بین دیتابیس سرویس‌ها **ممنوع** است.
جزئیات قراردادها در [`../../docs/services_contracts.md`](../../docs/services_contracts.md).