Enterprise Cloud POS & Restaurant Management

Andhra Ruchi — AR Cloud System Guide

A comprehensive architectural breakdown, feature documentation, and operational handbook for the AR Cloud multi-terminal restaurant POS, Kitchen Display System (KDS), and live cloud synchronization platform.

Launch Live App (andhraruchi-s2ss.netlify.app)
8 Subsystems
Integrated Modules
< 350 KB
Zero-Build Bundle
Real-Time
Firebase & WebSockets
ESC/POS
Native Thermal Hardware

System Architecture & Data Pipeline

How state, orders, payments, and hardware communicate across devices in real time.

Customer Mobile App Online Orders (Flutter / PWA)
Firebase Realtime DB Active Path: /AR
AR Cloud Terminal SPA Operator Portal
ESC/POS Thermal Printer KOT & Customer Tax Receipt
Dual Synchronization Engine

AR Cloud implements a resilient dual-sync architecture. High-frequency operations (live incoming orders and kitchen tokens) use Firebase Realtime Database WebSockets. Long-term transactional records, customer logs, and analytics synchronize automatically with Google Sheets via Google Apps Script webhooks.

Technology Stack & Engineering Decisions

Engineered for extreme speed, instant deployment, and zero compilation overhead.

Core Frontend

Pure Vanilla ES6+ & HTML5

Built without bulky React or Angular frameworks. Eliminates runtime bundle bloat and provides instant 60fps responsiveness even on budget Android POS tablets and legacy cashier touchscreens.

Cloud Database

Firebase Realtime Database

Employs persistent bidirectional WebSocket listeners (firebaseDb.ref('AR').on('value')) delivering sub-100ms order arrival alerts from customer apps directly to the kitchen display.

Hardware Driver

Web-Bluetooth & Web-USB

Direct hardware interface using standard Web APIs to generate binary ESC/POS command streams (cutters, drawer kick, bold fonts, QR codes) with zero external drivers needed.

App Distribution

PWA & Service Workers

Equipped with manifest.json and sw.js. Installable directly from Chrome, Edge, or Safari with custom app icons, standalone windowing, and offline caching.

1. Orders Dashboard & Kitchen Display (KDS)

Real-time pipeline managing order lifecycle from placement to doorstep delivery.

1

Incoming Order Alert (New Orders Column)

When a customer places an order via the mobile app, a loud sound alarm rings and an animated alert banner flashes on screen. The order appears in the New Orders column with token ID, customer address, and items.

2

Accept & Send to Kitchen (In Preparation Column)

Clicking "Accept & Prepare" automatically sends the ticket to the kitchen station, moves the card to In Preparation, and can trigger an auto-KOT thermal print for the chef.

3

Ready for Pickup & Final Dispatch

Once cooked, the chef clicks "Ready". The card moves to Ready for Dispatch. When handed to the delivery valet or customer, clicking "Deliver" archives the order into Bills History.

2. Point of Sale (POS) Quick Biller

Rapid in-store walk-in order creation and multi-mode checkout terminal.

Fast Item Search & Categories

Filter through Curries, Biryanis, Starters, Breads, and Beverages with a single tap, or type keywords in the real-time search bar to add dishes to the cart in under 1 second.

Real-time Cart Calculations

Automatically computes item quantities, packaging fees, discounts, and tax (CGST/SGST) dynamically without page reloads.

Multi-Mode & Split Checkout

Supports Cash, UPI / Dynamic QR payment verification, Credit/Debit Cards, or Split Payments (dividing a bill across multiple payment instruments).

4. Bills History & Transaction Audit

Searchable digital ledger for invoice reprinting and customer receipt queries.

Instant Bill Lookup

Search by Bill ID, Order Token, Customer Mobile Number, or Customer Name.

Reprint Thermal Receipt or Digital Invoicing

One-click reprint to connected Bluetooth or USB POS printer, or generate formatted printable HTML invoices.

5. Sales Dashboard & Business Analytics

Real-time revenue monitoring and performance KPIs.

Gross Revenue

Total billed revenue filtered by Today, Yesterday, This Week, or Custom Date Ranges.

Order Volumes & AOV

Monitors Average Order Value (AOV) and customer spending patterns across dine-in, takeaway, and delivery.

Top Selling Dishes

Ranks highest performing menu items by revenue and sales volume to optimize kitchen prep and inventory.

6. Hardware Thermal Printer (ESC/POS)

Hardware connection for 58mm and 80mm receipt rolls.

1

Pair Bluetooth or Connect USB

Power on your thermal receipt printer. In Chrome or Edge, click "Connect Bluetooth Printer" or "Connect USB Printer".

2

Select Device & Grant Permission

Select your printer model (e.g., RPP02N, MPT-II, Epson TM-T88) from the browser dialog and click Pair.

3

Test Print

Click "Print Test Receipt". The header quick-badge will turn green (Printer Connected), ready for auto-printing KOTs and bills.

7. Assets & Apartment Delivery Logistics

Manage delivery communities, gated societies, promo banners, and mobile app versions.

Controls the delivery destinations displayed in customer apps. Add new gated apartments, block names, and flat number delivery flags to prevent delivery errors.

8. Developer Firebase Realtime Console

Full interactive database tree explorer embedded directly in the portal.

Developer Restricted Access

This tab is strictly visible to users logged in with the Developer role. Cashiers and standard staff cannot access this section.

Direct /AR Explorer

Renders all child database collections (API, Assets, Bills, Categories, Menu, Users) directly in an interactive tree view.

Pure Inline Editing

Click any key or value to edit it inline with instant optimistic updates and real-time Firebase sync—zero popup modals.

Infinite Nested Subchildren

Easily build complex JSON structures like child/subchild1/subchild2 and commit them straight to the cloud database.

Role-Based Operator Manual: How to Use AR Cloud

Specific daily responsibilities and workflows for each team member.

Cashier / Front Desk

POS Billing & Customer Checkouts
  • Open the POS tab to take walk-in orders.
  • Tap dishes to add to cart, adjust quantities.
  • Ask customer payment method: Cash, UPI, or Card.
  • Click "Complete & Print Bill" to issue thermal receipt.

Kitchen Chef (KDS)

Order Preparation & Dispatch
  • Keep Orders Dashboard open on the kitchen tablet.
  • When alarm chimes, click "Accept & Prepare".
  • Cook according to ticket items and token number.
  • Tap "Ready" when dish is placed at pickup counter.

Store Manager

Inventory, Staff & Sales Audit
  • Toggle the Store Online / Offline switch at opening and closing times.
  • Disable out-of-stock items in the Menu tab.
  • Monitor revenue in Sales Dashboard.
  • Manage authorized portal staff accounts via Users.

Developer & SysAdmin

Database, Sync & Webhooks
  • Inspect and modify real-time nodes in the Firebase tab.
  • Configure Google Apps Script webhooks in Cloud Sync.
  • Test ESC/POS printer byte encoding in Thermal Printer.