Skip to main content
Back to projectsFull-stack web app · Personal project
Ñami — Venezuelan delivery app for food, groceries and local stores
Full-stack web app · Personal project

Ñami — Venezuelan delivery app for food, groceries and local stores

A delivery app tailored to the Venezuelan context: multi-store catalog, persistent cart, integer cents pricing, exchange rate locked per order, and live multi-stop tracking.

Disciplines
UX/UIFrontend
Role
End-to-end design, frontend, backend and database
Context
Full-stack web app · Personal project
Duration
Live · 2026
Stack
Next.js 16 · React 19 · TypeScript · PostgreSQL · Drizzle · Tailwind CSS · Vitest · Playwright
Enlaces externos
Try it live
GitHub
01 — THE PROBLEM

THE PROBLEM

Building e-commerce in dual-currency markets requires tackling price volatility, floating-point rounding errors, concurrent transactions, and sign-up friction.

Design and build a full-featured delivery app with guest checkout, store management panels, multi-stop orders, and bulletproof server-side calculation.

Financial Math (Before)

Floating-point decimals and client-side pricing logic, susceptible to rounding drift and tampering.

Solution

Integer cents amounts and mandatory server-side recalculation within atomic database transactions.

Exchange Rate (Before)

Single-currency rigidity or conversions altering past orders whenever the live rate changes.

Solution

Locked Bs./$ exchange rate and bolívares total recorded at order creation for immutable history.

Demo Experience (Before)

Mandatory sign-up wall requiring email and password just to try the checkout flow.

Solution

Full guest checkout using anonymous tokens: instant catalog, cart, and merchant dashboard.

02 — DECISIONS

Behind the interface

Architectural choices to ensure consistent transactions, multi-currency support, and zero rounding drift.

Integer cents pricing:All prices and totals are stored as integers to eliminate floating-point precision flaws.
Locked exchange rate per order:Each order records the exact Bs./$ exchange rate and bolivares total at purchase time, ensuring immutable history.
Strict server recalculation:The server never trusts client-sent totals: items, discounts, and delivery fees are recomputed in an atomic transaction.
Multi-store state machine:Normalized orders + order_stops structure with strict transition validation (409 on conflict).
Q.

Why integer cents instead of floating-point decimals?

A.

JavaScript floating-point arithmetic produces rounding anomalies (0.1 + 0.2 !== 0.3). Integer cents eliminate drift and allow exact equality checks.

Q.

Why enforce server-side recalculation on order creation?

A.

The client cart is purely advisory. The server re-evaluates inventory, applies coupons, and recomputes delivery fees inside an atomic transaction.

Q.

Why periodic polling instead of WebSockets for live tracking?

A.

Order status changes every few seconds and client volume per order is small. HTTP polling is reliable, stateless, and ideal for serverless deployments.

Q.

Why model orders with independent stops (order_stops)?

A.

It supports multi-store checkouts where each merchant advances its own preparation through a state machine while the customer tracks a single route.

03 — WHAT I BUILT

How it works

Browse and add to cart:Explore restaurants, grocery markets, and pharmacies, search with typo tolerance, and switch currency on the fly.
Customize your order:Apply promo coupons, schedule delivery time windows, and define substitution rules if items run out.
Track in real time:Follow each stop preparation status, observe the courier route on the map, and leave store reviews on delivery.
Ñami: Venezuelan delivery app for food, groceries and  en vista móvil
Responsive editing and mobile touch controls
04 — RESULT

By the numbers

100%TransactionalAtomic checkout and recalculations powered by PostgreSQL and Drizzle.
0Sign-up frictionComplete guest checkout flow with anonymous token authentication.
DualCurrency & multi-stopUSD/Bs. real-time switching and multi-vendor stop architecture.
LEARNINGS

What I learned from this project

01

Product & Design

A zero-friction guest experience lets any recruiter or user explore the product immediately without barrier.

02

Technical Architecture

Modeling money in integer cents and enforcing server-side transaction recalculation prevents accounting discrepancies completely.

03

Core Takeaway

Delivery software is not just about speed; it is about absolute certainty that every cent and every stop is accurate.