Prototypes
Nordlys Fysioterapi
P9 · Booking
Visitor
Owner’s week
Outbox
How it is built
Nordlys Fysioterapi
Nørrebrogade 10, Copenhagen N
Mon to Fri, 08 to 16
The booking server cannot be reached.
Start the Worker with wrangler dev, or open the deployed site.
Your details
Name
Email
The confirmation and a calendar file are sent here, with a link to cancel.
Back
Confirm the booking
You are booked
Add to your calendar
Cancel the booking
Book another time
How Nordlys Fysioterapi is built
The server works out the free times in Copenhagen time from the opening hours and the bookings, in steps of 15 minutes, so a summer and a winter date both start at 08:00.
A booking is checked against the free times again when it arrives. Two people who choose the same time get one booking and one message to choose again.
The confirmation is written as an HTML email of 600 pixels with its text version and a calendar file. With a Resend key set on the server it is sent; without one it waits in the outbox, where you can read it.
The link in the email has a random token, so only the person who booked can cancel.