LoyalBite – Mobile Applications Software | Vibe96

Mobile Applications

LoyalBite

Source code included

Multi-brand restaurant loyalty platform with POS-initiated transactions and mobile customer app

Built by Max code Updated 9 Nov 2026 68,259 lines of code

Open live demo Built withClaude Code

About this software

About LoyalBite

LoyalBite runs loyalty programmes across multiple restaurant brands from one system. Customers earn and redeem points, stamp cards and offers through a Flutter mobile app (Android/iOS), but every transaction is started by staff at the till using a POS scanner app or API integration. The ASP.NET Core 10 admin panel manages restaurants, branches, campaigns, offers and customers, with role-based access for SuperAdmin and RestaurantManager. All loyalty calculations run server-side with invoice deduplication, balance tracking and HMAC-signed QR codes.

Category: Mobile ApplicationsStack: ASP.NET Core 10 MVC + EF Core 10 · SQL Server 2019Built with: Claude Code Licence: Single-site, full source

Why LoyalBite

What makes it better
than the alternatives

  1. 01

    POS-initiated transactions

  2. 02

    Multi-brand architecture

  3. 03

    Three authentication schemes

  4. 04

    Dual mobile apps

  5. 05

    Campaign and offer engine

Admin Panel (ASP.NET Core MVC)

  • Dashboard with charts Controllers/Dashboard.cs
  • Views/Dashboard/Index.cshtml
  • Analytics screen Controllers/Analytics.cs
  • 7 chart endpoints)
  • Restaurant management: logo
  • banner
  • menu images
  • theme colour
  • social links
  • loyalty rules Controllers/Restaurants.cs
  • 13 actions)
  • Branch management with map coordinates Controllers/Branches.cs
  • 8 actions)
  • Campaign and offer creation with branch assignment Controllers/Campaigns.cs
  • Controllers/Offers.cs
  • Customer list and detail with points adjustment and QR regeneration Controllers/Users.cs
  • 9 actions)
  • Manager accounts Controllers/Managers.cs
  • 6 actions)
  • Notifications
  • FAQs
  • CMS pages Controllers/Notifications.cs
  • Faqs.cs
  • Content.cs)
  • Audit log Controllers/Audit.cs
  • AuditLogs table)
  • Two roles: SuperAdmin (all restaurants) and RestaurantManager (own restaurant only)

Customer REST API (/api/v1)

  • Registration with phone (optional email and password) API/Controllers/AuthApiController.cs Register)
  • Phone + OTP login (SendOtp
  • VerifyOtp endpoints)
  • Email + password login (EmailLogin endpoint)
  • Set password and change password (SetPassword
  • ChangePassword endpoints)
  • Restaurant list with favourites API/Controllers/CustomerRestaurantController.cs
  • 5 endpoints)
  • Restaurant detail with branches and offers (RestaurantDetail endpoint)
  • Stamp token generation for QR display API/Controllers/CustomerStampController.cs
  • 2 endpoints)
  • Points history and balance API/Controllers/CustomerUserController.cs
  • 6 endpoints)
  • Profile update with image upload (UpdateProfile endpoint)
  • Push token registration (UpdateFcmToken endpoint)
  • Notifications inbox API/Controllers/CustomerNotificationController.cs
  • 3 endpoints)
  • Public content: FAQs
  • About
  • Privacy
  • Terms API/Controllers/ContentApiController.cs
  • 3 endpoints)

POS API (/api/v1/pos)

  • Staff login with admin panel account (AuthApiController StaffLogin
  • returns staff JWT with rid claim)
  • Earn points from invoice API/Controllers/PosController.cs Earn
  • Services/Pos/EarnOperation.cs
  • Redeem points (RedeemPoints endpoint
  • Services/Pos/RedeemPointsOperation.cs
  • Redeem stamp card (RedeemStamp endpoint
  • Services/Pos/RedeemStampOperation.cs
  • Redeem offer (RedeemOffer endpoint
  • Services/Pos/RedeemOfferOperation.cs
  • Invoice deduplication (ProcessedInvoices table with composite key InvoiceId + BranchId)
  • Branch validation (TransactionService checks branch belongs to restaurant)
  • HMAC-signed QR parsing lib/models/qr_parse.dart in POS app)
  • Audit logging of refused calls (AuditLogs table
  • no foreign keys)

Customer Mobile App (Flutter)

  • Sign in with phone + OTP or email + password lib/features/auth/
  • Registration with optional email and birthday lib/features/auth/presentation/signup_screen.dart
  • Home screen with balance card
  • offers and restaurant list lib/features/home/presentation/Home_screen.dart
  • Restaurant detail with branches
  • offers and stamp card lib/features/home/presentation/restaurant_reward_screen.dart
  • QR code display for POS scanning lib/features/stamp/presentation/stamp_qr_screen.dart
  • Points history lib/features/profile/presentation/transaction_history_screen.dart
  • Profile edit with image picker lib/features/profile/presentation/edit_profile_screen.dart
  • Notifications inbox lib/features/notification/presentation/notification_screen.dart
  • Favourites lib/features/home/presentation/favourite_screen.dart
  • English and Arabic lib/l10n/
  • light and dark themes
  • Firebase push notifications (optional
  • lib/core/services/notification_service.dart
  • BLoC state management
  • get_it DI
  • Dio HTTP lib/api/datasource/remote/dio/

POS Scanner App (Flutter)

  • Staff login with email and password lib/screens/settings_screen.dart
  • lib/services/terminal_setup_service.dart
  • Terminal setup: restaurant ID and branch ID lib/services/staff_session.dart
  • QR code scanner lib/screens/scanner_screen.dart
  • mobile_scanner package)
  • Action selection: earn
  • redeem points
  • redeem stamp
  • redeem offer lib/screens/action_screen.dart
  • Transaction execution lib/services/pos_transaction_service.dart
  • returns PosOutcome)
  • Result display lib/screens/result_screen.dart
  • Staff token storage in flutter_secure_storage lib/services/staff_session.dart
  • QR parsing with tests lib/models/qr_parse.dart
  • test/qr_parse_test.dart

Loyalty Engine (Server-Side)

  • Points calculation: invoice amount × points per AED Services/Pos/EarnOperation.cs
  • Stamp increment with threshold and goal Services/Pos/EarnOperation.cs
  • Restaurants.StampThreshold and StampGoal)
  • Redemption cap: max redeemable points = balance × RedemptionCapPercentage Services/Pos/RedeemPointsOperation.cs
  • Balance tracking per restaurant (UserRestaurantBalances table
  • composite key UserId + RestaurantId)
  • Transaction history (Transactions table
  • indexed on UserId and RestaurantId)
  • Offer validation: active
  • not draft
  • within date range
  • branch assigned Services/Pos/RedeemOfferOperation.cs
  • Stamp token generation with HMAC signature Services/CustomerOfferService.cs
  • RedemptionTokens table)
  • Invoice deduplication (ProcessedInvoices table
  • composite primary key)

Campaign and Offer Management

  • Campaigns with name
  • description
  • start and end dates Models/Entities/Campaign.cs
  • Controllers/Campaigns.cs
  • Offers with title
  • description
  • image
  • points cost
  • draft/active state Models/Entities/Offer.cs
  • Controllers/Offers.cs
  • Branch assignment (OfferBranches table
  • many-to-many)
  • Offer list filtered by restaurant
  • draft state and date range Services/OfferService.cs
  • Offer detail with branch list Views/Offers/Detail.cshtml
  • Offer redemption through POS API Services/Pos/RedeemOfferOperation.cs

Notifications and Content

  • Push notifications via Firebase Admin SDK Services/NotificationService.cs
  • FirebaseAdmin 3.7.0)
  • In-app notifications (Notifications and UserNotifications tables)
  • Notification inbox with read/unread state API/Controllers/CustomerNotificationController.cs
  • FAQs with question and answer Models/Entities/Faq.cs
  • Controllers/Faqs.cs
  • CMS pages: About
  • Privacy
  • Terms Models/Entities/CmsPage.cs
  • Controllers/Content.cs
  • Public content API API/Controllers/ContentApiController.cs
  • anonymous access)

Database and Deployment

  • SQL Server 2019+ with 24 tables database/schema.sql
  • EF Core 10.0.12 with migrations (NET Project/Migrations/
  • Demo data script with 2 roles
  • 3 restaurants
  • 5 branches
  • 7 accounts database/seed.sql
  • Docker Compose with SQL Server
  • database init and web app (docker-compose.yml)
  • Connection string
  • JWT key and HMAC key from environment (appsettings.json
  • .env.example)
  • Rate limiting on sign-in routes Startup/RateLimiting.cs
  • 20 attempts per 60 seconds per IP)
  • Audit logging (AuditLogs table
  • no foreign keys)
  • 40 xUnit tests (NET Project/tests/LoyalBite.Tests/

Quality report

Manually reviewed

85/ 100

Automated audit score

✓ Passed the audit

Passed the audit and a manual review.
Audit run: 26 Oct 2026
Reviewed by Vibe96 staff, Dubai.

Security88
Code structure84
Docs & completeness94
Dependency health78
Build & deploy80
Reviewer notes (3 minor)

Lockfiles exist, but their contents were not provided, so no dependency can be confirmed free of known cves; build looks reproducible, but key manifests and howtosetup.md could not be verified from the digest; visible routes are properly guarded; most controllers and api ownership checks could not be verified from the digest. None of these stop the software from working; the developer has been told and improvements come in a future update.

Versions & updates

Release history

Current version

1.3.0
released 27 Oct 2026

Updates in the last 90 days

1
1 version · 0 patches

Buyers

1
full source, single-site licence

Updates included

1 year
free from purchase
  1. 1.3.0 Version Current27 Oct 2026 ✓ Reviewed & audited
    • New features have been added to the admin panel: Email, Stripe, Database Backup, and Database Cleanup.
  2. 1.0.0 First release 6 Oct 2026 ✓ Reviewed & audited

How updates work: versions add features and go through the full AI audit and human review. Patches are small fixes, audited and checked by a reviewer before release. Buyers get every update free for 1 year and are emailed the how-to-apply steps.

What you get

  • </>Full source codeThe complete audited source, delivered as a download from your account. No obfuscation.
  • ▤DocumentationSetup guide, architecture notes, CLAUDE.md and AGENTS.md.
  • ↻One year of updatesEvery new version the builder publishes, free for 12 months.
  • ♧30 days of supportInstallation and defect support through Vibe96 tickets.
$69Single-site licence Details
Vibe Studio Vibe Coding Platform

Build websites, mobile apps & business software.

  • .NET + SQL Server
  • Laravel + MySQL
  • Next.js + PostgreSQL
  • React Native
Build your software using AI
Nova, the Vibe Studio AI developer, with the Studio editor
Get it live

Your software. Your own domain.

$5/month

8-core CPU24 GB RAM
Shared high-performance servers
yourcompany.comLive
Make it live