feat: initialize project backend structure and document system specifications across all modules

This commit is contained in:
SonPhung
2026-07-24 09:05:41 +07:00
parent 506008c69f
commit 4534e4ecb8
74 changed files with 7989 additions and 44 deletions

View File

@@ -0,0 +1,38 @@
---
title: "Campaign Insight"
type: OpenSpec
status: Draft
domain: Reward Campaign Management
---
# Campaign Insight
## Requirement Definition
Combines data from across multiple data sources into charts to track and display customer and campaign activities, providing a high-level performance overview.
## Process Flow
### Pre-Conditions
- Users must have access rights to the Campaign Insight module.
## Business Rules
### Data Schema
#### Key Metrics Displayed
- Total Redeemed Points.
- Total Members (Active vs Inactive).
- Total Partners.
- Total Active Reward Campaigns.
#### Charts & Visualizations
- **Campaign Performance**: Displays the Top N Campaigns by awarded points, comparing "Target Avg Transaction Value" vs actual awards.
- **Top Channels**: Breakdown of transactions by entry channel (e.g., EDC, Web, Call Center).
- **Points Awarded vs Redeemed**: Time-series comparison of point inflows vs outflows over a period.
### Execution
- **View-only dashboard.**
- Real-time or near-real-time aggregation depending on batch job configuration for analytics.
## Exception Flow
- N/A