CURRICULUM PREVIEWRevision 1 · Open for reviewReview the full course
CHECKPOINT20 min read

Build the booking SaaS API

Bring language, architecture, and operations together.

Before you beginnist-ssdf

The idea

Build a tenant-scoped API that creates and reads bookings against PostgreSQL. Choose a modular monolith with an explicit booking application boundary unless a measured need justifies more complexity. Provide C# and Go implementations of the same reserve-and-read use case and document how dependency wiring differs.

Follow the flow

Make it concrete

This excerpt isolates the concept. Connect it to the booking API as you work through the exercise.

Focused example
text
POST /bookings: validate input, authorize tenant, reserve atomically
GET /bookings/{id}: return only within authorized tenant
GET /healthz: bounded readiness check
Evidence: migrations, test results, architecture decisions

Decisions that matter

  • Keep the scope small enough that all boundary tests can run.
  • Use the same API and data contract for the C# and Go comparison.
  • Record simplifications and remaining risks instead of implying production certification.

Your turn

Submit a release candidate with an architecture decision record, threat model, test report, and operational checklist. Explain one pattern you deliberately avoided.

Reveal a worked answer

A strong submission states the consistency invariant, tenant trust boundary, error contract, migration identity, and recovery path. It demonstrates concurrent final-seat reservations and cross-tenant denial. Avoiding microservices because one team and one deployment meet the need is a defensible decision when supported by the constraints.

Keep exploring

One more piece connected.

Mark this lesson complete when you can explain the idea.