D'Vibe

D'Vibe Rooftop

Plot No. 3-A, Tariq Market, F-10/2, Islamabad, Pakistan, 44000

0300-1438423 · dvibeisb@gmail.com

Step 2 complete · POS live

This is a build status page, not the POS.

The database, the sync engine, every API endpoint and the POS screens are built and tested. Every number on this page is read live from the database, so it is real.

There is no pairing. A new terminal sets itself up the first time it opens /pos/login with internet — after that it runs offline.

In the database right now

18
categories
104
menu items
112
prices
3
modifier options
9
staff
30
devices
2
accounts
4
wallet members
4
orders taken
10%
service charge

Tax is 0% — a placeholder. The printed menu says GST is added but never states the rate.

The real menu, loaded

CategoryItemsPrice range
Sheesha - Regular19Rs 1,799.00
Sheesha - Turkish10Rs 2,299.00
Sheesha - D'Vibe6Rs 2,699.00
Sheesha - Special5Rs 3,999.00
Soup3Rs 499.00 – Rs 599.00
Starter10Rs 499.00 – Rs 1,299.00
Burger4Rs 899.00 – Rs 1,399.00
Sandwich3Rs 899.00 – Rs 999.00
Panini3Rs 1,199.00 – Rs 1,299.00
Pasta4Rs 1,599.00
Steak6Rs 1,599.00 – Rs 2,399.00
Chinese6Rs 599.00 – Rs 1,999.00
Coffee4Rs 349.00 – Rs 649.00
Tea5Rs 149.00 – Rs 250.00
Shake4Rs 799.00
Margarita4Rs 599.00
Chiller3Rs 449.00 – Rs 549.00
Soft Drinks5Rs 150.00 – Rs 899.00

Accounts

Sample Khata
Khata (pay later) · expires monthly
DevDaa AI
Store credit wallet · expires monthly

Design tokens — the client’s navy, the logo’s gold

#F0C81E
primary actions
#EB1C25
logo only
#011C40
the room
#01254A
cards
#023859
sheets
#22C55E
paid, synced
#F59E0B
offline, pending
#EF4444
void, error
#7ED4E6
seated

Endpoints live

  • POST/api/sync/pushidempotent event batch
  • GET/api/sync/pullchange feed by cursor
  • GET/api/sync/bootstrapfull snapshot
  • GET/api/sync/statusserver time + schema version
  • POST/api/auth/pinstaff PIN login
  • GET/api/auth/sessioncurrent staff + role
  • POST/api/auth/logoutend session
  • POST/api/auth/approvemanager approval token
  • POST/api/devices/registerdevice self-registration
  • GET/api/deviceslist + pending counts
  • PATCH/api/devices/:idrename / revoke

Step 2 — built

  • Dexie schema + the outboxlib/db/dexie.ts
  • applyLocal() — the single write pathlib/sync/apply-local.ts
  • Sync worker (seq order, backoff, heartbeat)lib/sync/worker.ts
  • Service worker + offline app shellapp/sw.ts
  • PIN login screen/pos/login
  • Order screen: categories, item grid, modifier sheet/pos
  • Kitchen slip printinglib/print/
  • Bill + payment screens/pos/bills, /pos/pay
  • Khata and store creditlib/accounts/
  • Tables, menu editing, settings, items sold/pos/tables, /pos/menu, /pos/settings

Not built yet

  • Kitchen display screen (kitchen slips print today)
  • Back office: reporting, menu management, staff admin