Skip to content

NextiaDrive — our own product

NextiaDrive: one booking platform, a private database for every driving school

A bilingual booking platform for driving schools: account-free booking for students, Google Calendar sync for instructors, packages, payments and revenue analytics — with every school on its own isolated database.

Client
NextiaDrive — our own product
Sector
Vertical SaaS · driver training
Engagement
Own product · design, build and operate
Duration
Opening to schools soon
1 per school
Database

Tenant isolation is physical

No account
To book a lesson

Removes the biggest drop-off point

Serialized
Capacity checks

One lock per centre, per day

EN / FR
Bilingual

Booking, admin and emails

The situation

A driving lesson is a harder scheduling object than it looks. Every booking has to hold together a student, a service, a location, a time window, an instructor and a specific car, and any one of those can change at short notice. Most schools reconcile all of it by hand, from phone calls, text messages and a calendar only one person understands.

We first solved this for a single school, as a booking platform that went into production. NextiaDrive is what happened next: the same booking engine, rebuilt as a product that any driving school can sign up for and run under its own brand.

The constraint

The first constraint is concurrency. Two people booking the last slot at the same centre at the same moment must not both succeed. On a serverless platform, where many isolated workers handle requests, "check then write" is a race condition waiting for a busy Saturday.

The second is the people. Instructors already run their working lives in Google Calendar and will not maintain availability in a second system. Students are mostly teenagers and newcomers booking a handful of lessons; an account, a password and a confirmation email lose a meaningful share of them just as they are ready to pay.

The third is the move from one school to many. A school’s students, payments and revenue must never be visible to another school — not through a bug, not through a missing filter in one query. And in Québec, bilingual operation is not optional, while Law 25 sets real expectations about how personal information, including minors’, is handled.

What we built

A public booking flow that works without an account. A student picks a centre and a service and books; a link can preselect both, and the page can be embedded on the school’s own website. Bookings are managed afterwards through a hashed, single-purpose token rather than a login.

An availability engine that understands the domain: centres, services, pooled capacity where any qualified instructor will do, and named resources where a specific car or person is required. Final capacity checks for one centre on one local date are serialised, which makes double-booking structurally impossible rather than merely unlikely.

Google Calendar integration for every instructor. The system reads their real busy time and writes a calendar invitation for the student plus internal blocking events for the instructor and the vehicle, and a scheduled job reconciles the calendars every thirty minutes.

Lesson packages, deposits, instalments, invoices and receipts, with card payments through each school’s own Stripe account, so the school is the merchant and the money goes straight to it. Revenue analytics can be cut by service, centre, instructor, package or month, and are visible to owners and admins, not to staff.

The platform around it: sign-up with Google, three plans priced by locations and instructors, a 14-day trial, per-school branding with its own logo, colours and booking address, team roles, guided setup that tells a new school what to do next until it can take bookings, and a support console for our own team.

Decisions we made

One database per school. Every school’s data lives in its own Durable Object with its own SQLite database. Tenant isolation is a property of the architecture, not of every query remembering a filter. A schema change ships as a migration file, and each school upgrades itself the next time it starts.

Keep the booking engine unchanged. A small adapter gives each school’s database the interface the single-school engine was written for, so the code that had already been proven in production runs unchanged, one school at a time. Rewriting it for multi-tenancy would have thrown away its track record.

No student accounts. Accounts would have made some features easier to build and would have cost schools bookings. A management link gives the student everything they need — reschedule, cancel, view — with nothing to remember.

Meet instructors in Google Calendar. We could have built a better availability screen than Google Calendar. It would not have been used.

The school owns the payment. Card payments use each school’s own Stripe account, and refunds are always an owner decision, never automatic. NextiaDrive records and reminds; it does not hold a school’s money.

Where it stands

NextiaDrive is built and deployed, with sign-ups opening to schools soon. The full path — sign-up, provisioning a school, signing in, booking, plan limits, isolation between schools and billing events — is covered by end-to-end tests that run the real Worker against real SQLite, because scheduling and tenancy are exactly the kind of code that breaks quietly.

The transferable part is the pattern rather than the domain: a capacity-constrained booking problem, a workforce that will not adopt a second tool, customers who will not create accounts, and a single-customer system grown into a product without weakening what already worked. That describes a large share of appointment-based businesses.

All work

Start here

Tell us what is actually broken.

Thirty minutes, no deck, no pitch. You describe the problem; we tell you honestly whether AI is the right tool, roughly what it would take, and whether we are the right people. If we are not, we will say so.

We reply within one business day. English or French.