Rapitodo
A delivery app for San Andrés island: stores, orders, couriers and payments in one platform. I built the entire backend.
A freelance project for a client. I built the full API: store and product catalog, cart and orders, couriers with shifts and live location, online payments and a wallet, coupons and subscriptions, real-time chat and support, notifications and an integration with merchants' accounting software.

The problem
A delivery app has to coordinate three parties at once: customers who order, stores that prepare and couriers who deliver. Money is involved and everything happens in real time, so the backend can't lose an order or charge twice.
The solution
A delivery app for the island that connects customers, stores and couriers in one platform: catalog, cart, online payments, courier assignment and real-time order tracking.
What I built
- Stores and catalog: stores, products, store staff and reviews.
- Orders end to end: cart, order creation, operational statuses, cancellations and coupons.
- Couriers: sign-up, shifts, live location and route history.
- Payments: online payments, a wallet, saved payment methods, subscriptions and discount programs.
- Real time: chat between users and live support.
- Integrations: sync with merchants' accounting software and transactional emails.
How it's built
- Layered architecture: 28 business modules, each split into domain, use cases, infrastructure and presentation, so the logic doesn't depend on the framework.
- Reliable when money is involved: idempotent operations so a retried payment is never charged twice, plus an audit trail for financial movements.
- Events and outbox: notifications go out through a transactional queue, so they aren't lost when an external service fails.
- Security: JWT authentication, roles, rate limiting and lockout after failed login attempts.
- Tests: more than 80 automated test files.
What it's built with
NestJS and TypeScript, PostgreSQL with Drizzle, WebSockets for real time and AWS for files.