SOURCE CODE Admin panel + API · Customer app · POS app

Loyalty & Rewards Platform forRestaurants and Retail

A Rewarding platform with points, tiers, member offers, and repeat-visit tracking across a customer app and admin dashboard.

.NET 10 · ASP.NET Core MVC Flutter for Android & iOS English & Arabic
yourdomain.com/Dashboard
LoyalBite admin dashboard
LoyalBite customer app home
+24 pts awarded by POS
Bean & Brew · Dubai Marina
What you get

Three products, one codebase purchase

A web admin panel with its API, a customer mobile app and a POS scanner app for restaurant staff.

Admin panel & API

ASP.NET Core MVC admin for super admins and restaurant managers: restaurants, branches, offers, campaigns, users, notifications and analytics.

.NET 10SQL ServerEF CoreChart.js
Admin
Admin dashboard

Customer app

Flutter for Android and iOS with identity QR, points, stamp cards, offers, nearby map and push. English and Arabic, light and dark themes.

FlutterBLoC / CubitFirebase
Customer app homeCustomer app offers

POS scanner app

Set once with Restaurant and Branch ID. Staff scan the customer's QR, enter the invoice in AED and see the server result.

Earn pointsSuccess
AED 120.00+24 pts

APIs & docs

Customer API and POS API with Swagger UI, plus a POS integration guide for connecting real terminals.

GET  /api/v1/restaurants
POST /api/v1/transaction
POST /api/v1/stamp
DOCS /swagger
How it works

The POS is the source of truth

The app never awards or spends anything. Every earn and redeem starts at the restaurant till.

Step 1 · Customer

Customer shows My QR

The identity QR carries user ID, member code and an HMAC signature. No balance or points.

Identity QRBS-DEM002 · HMAC ✓
Step 2 · Staff

Staff scan at the till

The POS app reads the QR type and asks for the invoice amount in AED and an optional invoice ID.

Invoice amount
AED 120.00Earn
Step 3 · Server

Server applies the rules

Points, stamps, campaign multipliers and redemption caps are calculated on the backend.

1 pt / AED2× campaignCap 30%
Step 4 · Customer app

Balance updates instantly

One atomic transaction, deduplicated per invoice and branch, then a push notification.

+48 pts addedBean & Brew · just now
Admin panel

Run every brand from one dashboard

Super admins manage the whole platform. Restaurant managers see only their own restaurant.

Admin Dashboard screen Admin Restaurants screen Admin Users screen

Headline numbers and charts for platform and restaurant activity.

Customer app

A white-label app your customers will open daily

Flutter for Android and iOS. Rebrand it with your name, colours and restaurants.

Home screen My QR screen Stamp cards screen Offers screen Arabic & RTL screen
1,102 pts
≈ AED 738 value
Burger Hub · 3 / 6
Phone OTP sign-in Points history Nearby map Favourites Push notifications Dark theme
Admin modules

Everything a loyalty business needs

Each restaurant sets its own conversion rate, stamp threshold, stamp goal, reward and redemption cap.

Admin

Dashboard & analytics

Headline numbers and Chart.js charts for platform and restaurant activity: users, points issued, points redeemed and trends.

Admin dashboard

Restaurants

English and Arabic profiles with logo, banner, menu images, theme colour and social links.

BilingualOwn rules

Branches

Stamps earned at one branch can be redeemed at another branch of the same restaurant.

Cross-branch

Offers

Discount value, minimum spend, per-user and total caps, date range, day limits and drafts.

CapsDrafts

Campaigns

Time-boxed points multipliers, limited by branch, minimum spend or day of week.

2× points

Users & managers

Customer accounts with member codes, and manager accounts scoped to My Restaurant.

Roles

Notifications

Firebase push with per-user read state and notification preferences.

FCM

Content & FAQs

CMS pages and FAQs served straight to the mobile app.

CMS

Audit log

A record of every admin action for accountability.

Tracked
Loyalty rules

Built so points can’t be gamed

Security and accuracy are handled on the server, so restaurants can trust every balance.

Every POS request, checked
POST /api/v1/transaction
Earn · AED 120
HMAC signature verifiedQR · BS-DEM002
Invoice not yet processedINV-20418 · Marina branch
Rule engine applied2× campaign multiplier
Redemption cap checkedMax 30% of invoice
Balance committedSingle transaction
Points awarded+48

POS is the source of truth

The app never awards or spends anything.

QR is identity only

User ID, member code and an HMAC signature. No balance or points.

Server-side rule engine

Points, stamps, multipliers and caps are calculated on the backend.

Atomic and deduplicated

One database transaction per update; each invoice processed once per branch.

Redemption cap

Redeemable amount is limited to a percentage of the invoice and adjusted if exceeded.

Bilingual by default

English and Arabic across admin content, offers and the customer app.

Tech stack

Modern, maintainable source code

A clean structure your developers can extend from day one.

Backend & admin
ASP.NET Core MVC
.NET
Platform.NET 10, ASP.NET Core MVC (C#)
DatabaseMicrosoft SQL Server via Docker Compose
Data accessEntity Framework Core, code-first, with migrations
ArchitectureThin controllers over a services layer, API and view controllers kept separate
Admin UIRazor views, Bootstrap, jQuery, Chart.js, Inter and Noto Sans Arabic
Mobile apps
Flutter · Dart 3.9
iOS · Android
Customer appBLoC/Cubit state, get_it dependency injection, Dio for HTTP
App featuresqr_flutter, flutter_map and geolocator, Poppins font
PushFirebase Admin SDK on the server, Firebase Cloud Messaging in the app
POS appmobile_scanner camera, http API calls, shared_preferences settings
Security & ops
Auth, docs, setup
Secure
Admin sign-inASP.NET Identity cookies, SuperAdmin and RestaurantManager roles
API sign-inJWT Bearer for customers; HMAC-signed QR for POS calls
API docsSwagger UI at /swagger, plus a POS integration guide
SecretsUser-secrets or environment variables; the app refuses to start without them
SeedingRoles and SuperAdmin on startup, demo data in Development
Customise with AI

Modify the project with Claude, Codex and Antigravity

Thin controllers, a services layer and code-first migrations make the codebase easy for AI coding tools to read and change.

Claude logo
Claude
by Anthropic
“Add a birthday reward with double points”
Codex logo
Codex
by OpenAI
“Add a new offer type for happy hour”
Antigravity logo
Antigravity
by Google
“Rebrand the app with our colours”
LoyalBite codebase
Structured for humans and AI agents alike
C# · .NET 10Dart · Flutter
Controllers/Thin MVC and API controllers
Services/Loyalty rule engine and business logic
Models/EF Core entities, code-first
Migrations/Database schema history
customer_app/lib/Flutter features with BLoC/Cubit
pos_app/lib/Scanner, earn and redeem flows
One-time purchase · Full source code

Get LoyalBite on Vibe96

Buy the full source code once, brand it as your own and launch for your restaurant groups.

LoyalBite admin dashboard
LoyalBite customer app
Included in your purchaseEverything you need to launch
Admin panel and API source code
Customer app for Android and iOS
POS scanner app
Swagger docs and POS integration guide
Docker Compose and demo data seeding
English and Arabic, light and dark themes