E-commerce & Retail

Tijara - Supermarket Management System

Source code included

Complete supermarket management system for single-company grocery chains (1–50 stores) with POS, online store & delivery

Built by Ibrahim Abdurahman Updated 7 Oct 2026 80,654 lines of code

Open live demo Built withClaude Code

Why Tijara - Supermarket Management System

What makes it better
than the alternatives

  1. 01

    Single-tenant architecture

    One database per company, no multi-tenant SaaS layer, customer's branding throughout

  2. 02

    Full source with hand-written SQL

    No ORM, ADO.NET repositories with parameterised queries, numbered schema migration scripts

  3. 03

    BCrypt password hashing with configurable work factor, brute-force protection (lockout after 5 failures), antiforgery tokens on every form

    BCrypt password hashing with configurable work factor, brute-force protection (lockout after 5 failures), antiforgery tokens on every form

  4. 04

    Pre-aggregated reporting tables

    Analytics dashboards read from rollup tables built by Hangfire jobs, not live transactional queries

  5. 05

    Offline-capable driver PWA

    Delivery orders sync through an outbox when connectivity returns, cash-on-delivery settlement tracked per shift

Head Office

  • Product master: 3-level category tree
  • brands
  • multiple barcodes per product
  • weighed items
  • member prices
  • Arabic names
  • Bulk price changes with history
  • shelf-label and barcode printing (PDF via QuestPDF)
  • Suppliers
  • purchase orders
  • goods-received notes
  • supplier deals and claims
  • Stock transfer requests (warehouse → branch) with dispatch and receipt tracking
  • Promotions: % off
  • fixed amount
  • buy-X-get-Y
  • combos; by product or category; member-only and tier-gated
  • User management: 17 roles (Administrator
  • HeadOfficeManager
  • BranchManager
  • Cashier
  • WarehouseManager
  • DeliveryManager
  • DeliveryBoy
  • SupplierPortalUser
  • Customer
  • plus 8 more)
  • permission matrix
  • approval routes
  • Analytics dashboards: daily takings
  • hourly sales
  • cash variance
  • fast movers
  • monthly P&L
  • demand forecasting
  • seasonality (Ramadan flagged from rpt.DimDate)

Branch Operations

  • Branch dashboard: today's sales
  • transactions
  • low stock count
  • expiring items (7-day window)
  • pending STRs
  • Inventory: stock counts
  • wastage recording (with mandatory reason codes)
  • expiry batch management
  • Cashier handover: cash drops
  • denomination declarations
  • card settlement
  • Z-number generation
  • Day close: expenses entry
  • daily sales report submission (requires approval before next day opens)
  • Customer returns: refund processing with stock adjustment
  • return reason tracking
  • Online order picking: branch staff mark items picked
  • ready for delivery handover
  • Delivery handover: orders assigned to drivers
  • cash-on-delivery tracking
  • vehicle management

Point of Sale

  • Keyboard-and-scanner-first till: barcode scanning (EAN-13/8
  • UPC-A/E)
  • weighed item entry
  • Held bills: park incomplete transactions
  • recall by cashier or bill number
  • Split tender: cash
  • card
  • loyalty points in one transaction
  • Loyalty earn and redeem at counter: points applied automatically
  • promotions calculated in real-time
  • Printable receipts: tax invoice generation (QuestPDF)
  • QR code with transaction details
  • Shift open/close: cashier sign-on
  • denomination count at close
  • variance reporting
  • manager sign-off

Warehouse

  • Goods receiving: GRN creation from purchase orders
  • batch and expiry date capture
  • Warehouse stock: current quantity
  • reserved quantity
  • available quantity per product
  • Expiry batch tracking: FEFO (first-expired-first-out) allocation
  • expiry alerts
  • Dispatch to branches: STR fulfilment
  • vehicle assignment
  • dispatch confirmation
  • Stock movements: audit trail of all adjustments
  • transfers
  • receipts (append-only log)

Loyalty & Marketing

  • Points system: earn on purchase
  • redeem at checkout
  • FIFO lot expiry (oldest points used first)
  • Tiers: unlock thresholds
  • tier-gated promotions
  • member-only pricing
  • Audiences: customer segmentation by spend
  • frequency
  • last visit
  • tier
  • Campaigns: SMS/email message scheduling
  • audience targeting
  • redemption tracking
  • Wishlists: customer-saved products
  • abandoned-cart tracking for remarketing

Online Store (PWA)

  • Installable PWA: add to home screen
  • offline catalogue browsing
  • push notifications
  • Branch picker: customer selects collection/delivery branch
  • sees live stock for that branch only
  • Catalogue: category navigation
  • search
  • product images
  • member prices shown when signed in
  • Cart & checkout: guest checkout (no registration required)
  • saved addresses
  • card payment or cash-on-delivery
  • Order tracking: status history (Pending → Confirmed → Picked → OutForDelivery → Delivered)
  • estimated delivery time
  • Returns: customer initiates return request
  • branch approves
  • refund processed to original payment method

Delivery

  • Delivery manager queue: orders awaiting assignment
  • branch picker
  • driver assignment
  • Driver PWA: offline-capable
  • outbox syncs when connectivity returns
  • route optimisation (manual)
  • Cash-on-delivery: driver collects payment
  • records amount
  • settles at shift close
  • Delivery boy shift: sign-on
  • order handover
  • cash settlement
  • card slip reconciliation
  • sign-off
  • Card slips: driver records card payments
  • manager reconciles against bank settlement

Supplier Portal

  • Supplier login: separate authentication (dbo.AdminUsers)
  • BCrypt password hashing
  • brute-force protection
  • Purchase orders: view assigned POs
  • line items
  • delivery dates
  • branch destinations
  • Goods receipt notes: view GRNs created from supplier's POs
  • quantities received
  • batch numbers
  • Deals and claims: supplier submits promotional deals
  • head office approves
  • claim tracking

Accounting

  • General ledger: chart of accounts (Asset
  • Liability
  • Equity
  • Revenue
  • Expense)
  • account hierarchy
  • Journal entries: manual posting
  • auto-posting from sales/purchases
  • approval workflow
  • Accounts payable: supplier invoices
  • payment tracking
  • aging report
  • Accounts receivable: customer invoices (credit sales)
  • payment tracking
  • aging report
  • VAT reporting: sales VAT
  • purchase VAT
  • net VAT payable
  • period-end reconciliation

Platform Console

  • Administrator dashboard: branch summaries (today's sales
  • transactions)
  • audit log (last 200 actions)
  • user activity
  • Hangfire dashboard: background job monitoring (requires Administrator role)
  • job re-queue/trigger/delete
  • Licence context: module enablement (OnlineStore
  • Delivery
  • Loyalty
  • Accounting)
  • branch/user limits
  • Company profile: name
  • logo
  • VAT number
  • address (used on receipts and invoices)
  • Notification centre: system alerts
  • low-stock warnings
  • expiry alerts
  • approval requests

Quality report

Manually reviewed

92/ 100

Automated audit score

◷ 2 open warnings

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

Security95
Code structure72
Docs & completeness100
Dependency health95
Build & deploy92

What to know before you buy

2 non-blocking findings shown publicly: moderate duplication and some oversized files; module boundaries mostly sound but view logic could be tightened; strong authentication and role guards; minor ownership gaps on read endpoints. The seller has been notified; fixes ship in the next version.

Versions & updates

Release history

Current version

1.1.0
released 7 Oct 2026

Updates in the last 90 days

1
1 version · 0 patches

Buyers

0
full source, single-site licence

Updates included

1 year
free from purchase
  1. 1.1.0 Version Current7 Oct 2026 ✓ Reviewed & audited
    • Updated security fixes
  2. 1.0.0 First release 7 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.
$399Single-site licence Details