Skip to content
Robeir Toma
< All work
Deployed, pre-launch, no real users yet

Autostob

Two-sided marketplace for buyers and travelers

A bilingual, Egypt-first marketplace. Buyers who want products from Amazon stores abroad are matched with verified travelers who have spare luggage space. It is the largest system I have built, and the one where I worked hardest on structure.

How it fits together

  1. Request or trip

    buyer and traveler sides

  2. Match

    routes, stores, capacity

  3. Versioned offer

    terms derived server-side

  4. Reserve capacity

    atomic, in one transaction

  5. Chat and moderation

    participants only

The deal path that is implemented today.

The hard parts

Offers nobody can quietly change

An offer's terms are derived on the server and stored as immutable versions. A new negotiation step creates a new version rather than editing the old one, so both sides and any later dispute see the same history.

Selling the same luggage space twice

Two buyers accepting offers on one trip at the same moment must not both succeed. Capacity is reserved atomically inside a database transaction, and writes that cross modules go through application services instead of touching tables directly.

A monolith on purpose

I chose a modular monolith over services to keep transactional consistency and move quickly, with module boundaries enforced inside it and outside providers kept behind interfaces. The reasoning is written down in the repo's decisions log.

What exists today

  • A monorepo with a Next.js web app, a NestJS API, and shared packages for domain rules, API contracts and the database.
  • Buyer requests and traveler trips, with discovery and matching in both directions.
  • Private offers, participant-only chat, cancellation requests, manual identity verification and moderation.
  • A staff console, account suspension, and value ceilings for the pilot.
  • A scripted deploy to a Linux VPS: quality gate, encrypted database backup, migration check, health check.