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>
29 lines
870 B
Markdown
29 lines
870 B
Markdown
# 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.0–7.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`.
|