TorbatYar/frontend/docs/loyalty-validation-report.md
Mortezakoohjani d579d0b142 feat(loyalty): add Loyalty Platform Frontend module
Add frontend/modules/loyalty with types, API client, design system, feature pages and thin App Router routes under app/loyalty/. BFF proxy at app/api/loyalty/. Include loyalty frontend docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-27 10:50:55 +03:30

29 lines
870 B
Markdown
Raw Permalink 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.

# Loyalty Frontend Validation Report
## Architecture
- [x] Business code under `modules/loyalty`
- [x] Thin App Router under `app/loyalty`
- [x] BFF `/api/loyalty`
- [x] Catalog entry `تربت وفاداری`
- [x] No cross-module imports into CRM/Accounting/etc.
## API coverage (7.07.6)
- [x] Programs / Tiers / Members + lifecycle
- [x] Point accounts + earn/redeem/adjust/expire + ledger
- [x] Rewards + redemptions fulfill
- [x] Campaigns + lifecycle
- [x] Referral programs/codes/attributions
- [x] Wallets + credit/debit/adjust
- [x] Audit per-entity
- [x] Health
## Honest ScopeNotice
Gift cards, gamification entities, segments, partners, branches, notifications, roles, API keys, integrations — no mocks.
## Remaining automated checks
Run from `frontend/`: `npx tsc --noEmit`, lint, and smoke-navigate `/loyalty/hub`.