The order flow of a PWA handling millions of daily orders
Client-side core and order life cycle of the PWA restaurants run their orders on, shipped inside the native apps through webviews.
Need, solution, impact
Need
A business-critical order flow under high traffic, with web releases blocked by the mobile apps’ code freezes.
Solution
Owned the order life-cycle flow: a REST snapshot on load, WebSocket events for new orders and status changes, and a connection-state indicator with manual refetch instead of polling. Integrated the PWA into native webviews and exposed native capabilities such as push notifications to the web layer. Built the REST API endpoints the frontend depended on with Node.js and Express, and added a generic proxy endpoint to the Node.js BFF.
Impact
Web releases ship independently of mobile code freezes; business partners receive push notifications from the web layer; new gateway endpoints no longer need BFF code changes or a separate deploy.
- React
- TypeScript
- PWA
- WebSockets
- Native webviews
- Node.js