Skip to content
← All restaurant work

Mobile ordering · 2025–present

Mobile ordering for an 80-location restaurant brand.

At Crave, I helped build and launch the app, connecting meal customization, checkout and rewards with the ordering systems behind them.

My role: Full-stack & mobile engineerMobile and API development, technical planning, code review and releases.

Meal customization with required choices and selected options, using fictional sample data
Order confirmation rendered with fictional order details
Real app screens with sample data. Client name withheld.

What I worked on.

The customer flow depends on more than its screens. Menu choices, payments, loyalty and order records need to stay connected.

01

Ordering, checkout & rewards

I built features and reviewed changes across store selection, meal customization, bag editing, checkout and loyalty.

02

Shared APIs & order data

I implemented shared API flows for menus, checkout and order history, and helped connect them to saved orders and provider updates.

03

Technical planning & releases

I planned work, reviewed pull requests, tested release candidates and followed reported issues through to fixes.

Improving the ordering experience.

Selected product improvements and production fixes, with my contribution and the checks behind each one.

Checkout & payments

Payment succeeded. The app said it failed.

I traced the failed confirmation to missing checkout-session data, repaired the handling and replayed the failed request in testing.

How I traced and verified the fix

Problem. On the new-card checkout path the payment and order went through, but the app's final confirmation call sometimes failed, so customers saw an error for an order that had succeeded.

My contribution. I traced it to the managed Redis scripting engine silently dropping a null field from the saved checkout session, fixed the read to treat a missing value as empty, verified it by replaying the failed call on the test environment, and rebuilt each reported customer's session from server logs to separate our bug from a bank decline and a deliberate re-order.

Result. No recurrences in the first two days after release, and the store received a per-customer breakdown.

Scope and limits. The bug came from one of my own earlier changes. Refunds were a support decision.

Observed after release

No recurrence recorded in the first two days.The store also got a customer-by-customer breakdown separating this bug from a bank decline and a deliberate re-order.

Order history

Website orders were missing from the app.

I repaired how website orders were linked to customer accounts, checking exact account matches and removing duplicate results before release.

Website orders became visible to thousands of customers.Production-data checks found no duplicates or regressions in existing app orders before release.

What the account checks covered

Problem. Signed-in customers who had ordered on the brand's website saw an empty order history in the app. The list required two account identifiers, and website orders carried only one.

My contribution. I proved the cause on production data and changed the history to include website orders linked to the account, view-only. Review caught two risks that I fixed before release: an email check loose enough to match another customer's account, and orders stored twice after a cancellation.

Result. Thousands of customers went from an empty history to seeing their orders. Running the new code against production data showed zero duplicates and no regressions before release.

Scope and limits. A website guest order placed with a registered customer's email also appears in that customer's history.

Behind the screens

One ordering flow. Connected systems.

The app and web ordering share one set of services for menus, baskets and orders. When the ordering provider reports a change, such as a new order status, the saved order updates, so customer tracking, support and the operations dashboard show the same state.

Flutter · Next.js · TypeScript / Express · PostgreSQL / Prisma · Redis

Explore the order lifecycle →
A reward-code bug, fixed that night

Problem. Reopening an active reward showed a product image instead of the QR code customers need to redeem it. It was reported on the evening of June 22, 2026.

My contribution. I repaired the active-reward display, added related app and server support, coordinated testing and published over-the-air patches. The earlier reward feature was already in progress; this delivery was a scoped correction to that work.

Result. Early on June 23, about seven and a half hours after the report, a colleague confirmed that two reward codes worked in store and that the released iPhone app showed the fix.

Scope and limits. This was an over-the-air patch to the released app, not a new App Store build. The retest covered two codes on one iPhone, and one example is not a promised turnaround time.

Catalog import and sending orders to a POS

Problem. The platform needed to import categories, modifiers, products, prices, location context, and nutrition data, then forward customer orders and process provider status updates.

My contribution. I implemented the catalog import and outbound-order path, aligned the provider SDK and data contracts, added pricing, location, and nutrition handling, and built the webhook-to-internal-status update path.

Result. A test order reached the POS provider dashboard, and the import fixes went live.

Scope and limits. Image import and wider security hardening aren't part of this example, and the scheduling screens were shared work.

Getting provider events flowing into production

Problem. In launch week, production orders stayed at received forever, and item-availability and menu-change events never arrived.

My contribution. I proved nothing was arriving at all: the handler rejects bad signatures before storing anything, so an empty event table plus zero signature failures meant zero deliveries. I confirmed our endpoint was ready, traced the gap to a webhook subscription never configured in the provider's dashboard, and wrote the exact setup: destination URL, shared secret and event list.

Result. Once the subscription was configured, production received order updates from every channel.

Scope and limits. The fix was provider-side configuration, not code.

Making the Redis connection recover automatically

Problem. Twice in one afternoon, every signed-in request returned errors for a few minutes and the menu failed too. A manual restart fixed it instantly both times.

My contribution. I used the restart clue to rule out the managed Redis itself, found the server's single long-lived Redis connection had no keepalive or reconnect strategy and was left half-open when idle connections were dropped, and built the fix: reconnect with backoff, keepalive pings, readiness based on ready rather than open, and fail-fast reads.

Result. The self-healing client is in production.

Scope and limits. The deployed change adds automatic reconnection.

Project context: client work delivered as part of my role at Crave. Crave’s website (opens in a new tab) describes this project as a guest app for an 80-location restaurant brand. Client identity, private source and product data are omitted.

Building or improving an ordering app?

Tell me where you need help—from the customer flow to the systems behind it. A few sentences are enough to start.

Tell me about your project →