Skip to content

Learn by building Leaseline

Twelve tutorials that build one Startup, Leaseline, from an empty folder to launch, one file convention at a time.

Twelve tutorials build one Startup, Leaseline, from an empty folder to Live. Each adds one part of the business as one file and shows what it compiles to.

The Startup you build

Leaseline (leaseline.app) tracks lease renewals for property managers with 20 to 500 units. Its founder holds the approvals, and an agent fills its Success Manager Role. Every id in the tutorials is a record in Leaseline's own data, so a call you copy returns what the page shows.

The twelve tutorials

Each tutorial adds one part of the business as one File or one call. Parts include a Noun, a Verb, a Site, an App and a Change.

#TutorialAdds
1Creating the projectstartup.ts from the Solo SaaS template
2Declaring your own Nounnouns/Lease.mdx
3Writing a Verb functionnouns/Lease.renew.ts and its test
4Calling it four waysRecords through the API, SDK, CLI and MCP
5Selling the pro planoffers/pro.mdx
6Publishing the Sitesites/www/
7Mounting the Appapps/portal/
8Automating the noticeworkflows/renewals/
9Seating the agentagents/customer/success-manager.mdx
10Handling a failed cardThe past-due path, Stripe-led
11Reviewing a ChangeTests, Evaluators and a merge
12Launching LeaselineThe launch checks and Live

Checkpoints

Each tutorial ends on a checkpoint tag, leaseline@ch01 to leaseline@ch12, in a public example repository that CI builds on every release. The repository and its tags have status planned. Each tutorial ends by listing the files its checkpoint holds.

Next

  • Quickstart: the seven commands of tutorials 1, 5 and 12 in five minutes.
  • The Leaseline year: the same Startup a year on, one dated episode at a time.
  • File conventions: every file the tutorials write, with its full contract.