
Template - App starter - About 1 hour
App starter: availability defined as data: hours, blackouts, slot length, buffers
1
Availability defined as data: hours, blackouts, slot length, buffers
2
Atomic slot reservation that survives double-booking races
3
Timezone-correct display for booker and owner
4
Confirmation and reminder emails with reschedule links
Step 1
Set your real availability rules, including the buffer you always forget manually.
Step 2
Run the two-window race test against the same slot before any real booking.
Step 3
Connect your calendar so personal events block slots automatically.
A physiotherapist offers 45-minute sessions, Tuesday to Friday, 9:00 to 17:00, with a 15-minute buffer. Sample rules and a race test (example).
| Rule or test | Value | Expected outcome |
|---|---|---|
| Slot length + buffer | 45 min + 15 min | Slots start at 9:00, 10:00, 11:00 and so on |
| Blackout | Friday afternoons | No slots after 12:00 on Fridays |
| Two browser windows pick Tue 10:00 | Submit both within a second | One confirms, the other sees 'slot taken' |
| Booker in Lisbon, owner in Honolulu | Same slot | Each sees their own local time, same instant |
The numbers shown are examples. Swap in your own.
Done looks like
Mistakes to avoid
Each connector page describes what it does.
Download the starter (zip) - a real, dependency-free Node app (v0.2.0): boots with npm start, passes npm test (boot, health check, sign-in, per-account data separation, CSRF, session expiry, login throttle and, for the billing starter, signed-webhook checks). External services run in clearly labeled mock mode until you add keys from the annotated .env.example.
Security upgrade notice. Earlier downloads of this starter had an open data API, shared data between accounts and a default or printed login. Check your ZIP's SHA-256 (first 16 characters): v0.1.0 (first release) e41c79a2575188c2; v0.1.1 (interim fix, Nov 28 00:19-00:3x HST) b9aacf8a9264cdd8. If yours matches, replace it with this version and follow SECURITY-UPGRADE.md inside the new ZIP; your data is not touched by this site.
Related playbook: Build a booking system from scratch
Plan for about 1 hour for the first run. The install steps above are in order, and the worked example shows what a finished setup looks like with example data.
The starter is built to be followed step by step. Every step is readable on this page and in the linked playbook, and the Google Calendar, Stripe connector pages cover the services involved.
Set your real availability rules, including the buffer you always forget manually.
Other templates that use the same services: SaaS starter · Approval chain · Inventory manager
This template follows Build a booking system from scratch. The same steps, with the free tool that does each one.
Step 1 of 5
Model availability as data, not as a calendar screenshot: open hours, blackout dates, slot length, buffer time.
Step 2 of 5
The one hard rule: slot reservation must be atomic. Test double-booking with two browser windows racing the same slot before anything else.
Step 3 of 5
Handle timezones explicitly with timezone-scheduler patterns - store everything in UTC, display in the booker's zone.
Use Timezone Scheduler. Find a meeting time that works for everyone, with each person's working hours and the clock changes on that date.
Step 4 of 5
Send confirmation and reminder emails from templates, and include a working reschedule link.
Step 5 of 5
Connect a deposit or card hold only after the booking flow itself is solid; payments magnify bugs.
These run in your browser with no account.
Name the thing you are building - entity, fields, types - and get the three files every CRUD app starts with: the SQL schema, the REST route handlers, and a working list-plus-form page, all consistent with each other.
Real output from the tool
YOU ENTER:
Entity name (built-in example)
Subscriber
Fields (built-in example)
email: text
name: text
plan: enum:free,pro,team
mrr: number
active: boolean
joined: date
Tab
SQL schema
THE TOOL RETURNS:
-- TODO: add foreign keys where relationships exist
CREATE TABLE IF NOT EXISTS subscribers (
id SERIAL PRIMARY KEY,
email TEXT NOT NULL DEFAULT '',
name TEXT NOT NULL DEFAULT '',
plan TEXT CHECK (plan IN ('free', 'pro', 'team')),
mrr NUMERIC,
active BOOLEAN NOT NULL DEFAULT FALSE,
joined DATE,
created_at TIMESTAMPTZ NOT NULL DEFAULT now()
);Add the places your people are, set their working hours, pick a date and a length. The scheduler shows which start times keep everyone inside their hours for the whole meeting, ranks the least bad options when none do, warns you about daylight-saving changes close to the date, and gives you the result as text or a calendar file. It runs in your browser. Nothing is uploaded or saved.
Pick the email type, fill in the specifics, and get a complete template with subject line, preview text, body, and CTA - written to be read on a phone and answered.
Real output from the tool
YOU ENTER: Type outreach Your name / company Sam, Acme Recipient (name or role) Jordan The point (one sentence) we cut onboarding time in half for support teams The ask (the one thing you want) a 15-minute call next week THE TOOL RETURNS: Subject: Quick question, Jordan Preview: we cut onboarding time in half for support teams Hi Jordan, we cut onboarding time in half for support teams. I thought this was relevant to you specifically. Worth a 15-minute call next week? Either way, no follow-up spiral - one reply settles it. Sam, Acme
Each connector page shows whether it is available yet.
Uses:
Until it ships, set this part up by hand in Google Calendar.
Uses:
Until it ships, set this part up by hand in Stripe.
SQL schema (Postgres-flavored), fetch-based route handlers, and a framework-free page - portable into whatever you use.
Not yet - keep fields scalar and add foreign keys where the SQL comments mark them.
Yes - structured for relevance-first, short, one ask. The rest is your research.
Generate the outreach, then the follow-up type for touch two and three.

Each template lists what ships inside and the install steps.