Flevario is a smart, QR-based coffee discount ecosystem connecting users and partner cafΓ©s.
It provides customers with daily savings through subscription plans (free and paid tiers) and gives cafΓ©s full control over discount rules and fraud prevention.
At its core, Flevario combines:
ββββββββββββββββββββββββββββββ
β Client App β
β (User: QR generation, plan β
β management, usage stats) β
ββββββββββββββ¬ββββββββββββββββ
β (rotating QR)
βΌ
ββββββββββββββββββββββββββββββ
β Merchant App (PWA) β
β (Barista scans QR, selects β
β products, confirms sale) β
ββββββββββββββ¬ββββββββββββββββ
β (secure API call)
βΌ
ββββββββββββββββββββββββββββββ
β Flevario Server β
β - Plan engine (eligibility)β
β - Discount caps & limits β
β - Cooldowns & replay guard β
β - Store templates & rules β
β - Logs & analytics β
ββββββββββββββββββββββββββββββ
Data flow direction:
jti, plan info, timestamp).Handles all core logic, security, and data synchronization.
| Module | Function |
|---|---|
| Plan Engine | Determines userβs active tier, discount %, caps, and floor rules. |
| Eligibility Checker | Validates per-item price floor, cooldown, and cap. |
| Discount Calculator | Computes actual lei amount (with per-item cap). |
| Store Config Templates | Allow each cafΓ© to adjust discount % within defined bands. |
| Anti-Fraud Engine | Validates token freshness, replay prevention, and cooldowns. |
| Audit & Analytics | Logs redemptions, store exposure, and user savings. |