Navigation

Download CV (in Spanish) ↓esen

Socials

©Code by Bryan

DB Courier

Role

Design, full-stack development and architecture

Type

Business website & tracking system

Stack

DB Courier

Website and operations system for a USA-to-Peru import courier, live at dbgroup.com.pe: instant quotes, order registration, package tracking and an internal panel for orders, settlements and finance.

ResultCompleted and handed over to the client; live at dbgroup.com.pe.

The challenge

The business ran on a Google Sheet: every order was typed in by hand after a WhatsApp chat, public tracking read the whole sheet through Apps Script, and sequential order numbers let anyone scrape the customer list. It had to move to a real backend without interrupting the service.

What I built

I wrote an architecture diagnosis and migrated with the Strangler Fig pattern: the front end was already decoupled behind one data adapter, so a new API with the same JSON contract replaced the sheet with a one-line config switch and instant rollback. Today a framework-free site and panel talk to 12 Netlify Functions in front of Supabase PostgreSQL, with private document storage, a state machine with full history, server-side settlements and role checks enforced in two layers.

The five-step route, drawn as a flight path
The five-step route, drawn as a flight path
Tracking by guide number, with an optional ID check
Tracking by guide number, with an optional ID check
Order registration with document upload to private storage
Order registration with document upload to private storage
Staff access to the operations panel: orders, settlements and finance
Staff access to the operations panel: orders, settlements and finance
Operations panel: dashboard with alerts, volume and orders by status (client data and amounts blurred)
Operations panel: dashboard with alerts, volume and orders by status (client data and amounts blurred)
Order management with status filters, search and inline status changes (personal data blurred)
Order management with status filters, search and inline status changes (personal data blurred)
Reports: volume moved, bottlenecks per status and billing (amounts blurred)
Reports: volume moved, bottlenecks per status and billing (amounts blurred)
Settings: rates and exchange rate used to generate settlements
Settings: rates and exchange rate used to generate settlements
Home on mobile
Home on mobile
Tracking on mobile
Tracking on mobile

Highlights

  1. 01Completed and in production at dbgroup.com.pe
  2. 02Migrated from Google Sheets + Apps Script to its own API with the Strangler Fig pattern, without downtime
  3. 03Anti-enumeration tracking: non-guessable codes, optional ID as second factor, rate limiting
  4. 04Two-step order intake with uploads to a private bucket through signed URLs
  5. 05State machine validated against a catalog, with a full history of who changed what
  6. 06Settlements computed on the server with configurable rates and a printable sales note
  7. 07Two-layer authorization (RLS + role check in every function) and an audit log

Built with

HTMLCSSJavaScriptNode.jsNetlifySupabasePostgreSQL