Deployment
Build and start commands, migrations at start, and the settings production needs.
One Node process serves the booking page, the dashboard and GraphQL. There is no worker or scheduled job. Unpaid holds are released when someone reads open times, books, or opens the booking link.
Railway
railway.toml in the repository:
[build]
buildCommand = "prisma generate && keystone build --no-ui && next build"
[deploy]
startCommand = "npm run migrate && next start"Migrations run at start because the build cannot reach a private database.
Vercel
The README has a Deploy with Vercel button that asks for DATABASE_URL and SESSION_SECRET. Run npm run migrate against the database before the first start.
Production checklist
DATABASE_URLand a long randomSESSION_SECRET.APP_ORIGINset to your HTTPS address (orRAILWAY_PUBLIC_DOMAINon Railway). Stripe returns clients to/booking/<id>on this origin.STRIPE_SECRET_KEYif you take deposits. Deposits are confirmed by reading the Checkout Session back from Stripe, so no webhook is needed.- SMTP if you want password-reset email.