Amir Salmaniplatform and reliability engineer

cases / Marketplace

A marketplace rebuilt from the business model down

Amir Salmani,

  • sole engineer on the rebuild
  • 5 apps, 1 contract
  • business model and legal register written first
  • not yet moving money

The business

A startup studio in Canada owns a marketplace: people find a place to rent, and book the services a home needs, across 5 metropolitan regions. An earlier version had been built by a small team. It needed rebuilding, and by then the team was one engineer.

Before any code, the founders and I wrote the business down, as decisions that can be read and argued with:

  • What the business is, and who it’s for.
  • How it earns: who pays, when, and what share the marketplace keeps.
  • What trust means between a tenant, an owner and a tradesperson.
  • What the law asks of it: privacy, tax and consumer protection, kept as a register.
  • What it won’t do yet.

The founders decided. I made sure every decision was written, and that the code could be checked against it.

It isn’t moving real money yet. That’s where it stands.

The product

  • A web app for customers.
  • A separate app for the people who do the work.
  • An admin console for the company.
  • The company’s own site in English and French, with a small CMS the founders edit themselves.

The tech

One TypeScript repository. 5 apps (web, admin, operator, API, worker) share 1 contract: the schemas and types every app is generated from, so the front and the back can’t drift apart.

One command starts the whole system on a laptop. One command verifies it, and that’s the same command CI runs.

The production server costs €6.49 a month. A business with no revenue shouldn’t be paying for scale it doesn’t have.

the questions this answers

Tell me what you need