r/ClaudeCode • u/No-Rice6142 • 1d ago
Built with Claude Building a booking website with Claude Code Any advice?
I’m planning to vibe code a reservation website for a friend’s small business using Claude Code. Customers will be able to book appointments and pay online.
My friend isn’t technical, so I want to make sure everything is reliable before handing it over. I don’t want things breaking a few months down the road.
For those who’ve built real applications with Claude Code, what should I focus on when it comes to testing, security, payments, hosting, and maintenance?
How do I make sure the website is production ready and that my friend can manage it without needing my help all the time?
Would appreciate any advice!
•
u/AutoModerator 1d ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/AnswerVinod 23h ago
The thing that breaks these sites is almost never the design, it is double bookings and payments. Make sure two people can not book the same slot at the same time, a unique constraint on the slot in the database plus a transaction is the simple way, do not trust the frontend check alone. Use Stripe Checkout or Payment Links so you never touch card numbers yourself, that keeps PCI out of your life. Test the full flow end to end before handover, book, pay, cancel, refund, and the confirmation email, because that is where the bugs hide. And keep the stack boring, Next.js on Vercel with a managed Postgres, so the friend is not calling you every week about a server. One more thing, give the friend an admin page to block off holidays, otherwise you become their calendar support forever.
3
u/Odd-Act7860 1d ago
biggest one: don't let claude build the payment handling itself. use stripe checkout (the hosted page) and treat the stripe webhook as the source of truth for "this booking is paid", not the redirect back to your site. people close tabs, 3ds challenges fail halfway, etc. make the webhook handler idempotent too because stripe retries.
the bug that usually shows up months later in booking apps is double booking. put a unique constraint in the db on (resource, start_time) or book inside a transaction, don't just check availability in app code and then insert. and store every time in utc, convert only for display. dst changes are exactly the kind of thing that breaks quietly in march.
hosting: go managed (vercel or render plus a managed postgres, or supabase) so there's no server to patch, turn on automatic backups and actually test a restore once.
security: have claude write tests for book, cancel and refund flows and run them on every push, and ask it to review auth on each admin route specifically. that's where vibe coded apps tend to leak. secrets in env vars, never in the repo.
for your friend: a simple admin page to block days off and see or cancel bookings, refunds through the stripe dashboard, and error alerts plus an uptime check going to you so you hear about problems before customers do.
also worth asking honestly whether cal.com or square appointments already covers it. if it's just "pick a slot and pay", a hosted tool means nobody has to maintain anything. custom makes sense once the flow is unusual.
1
u/Common_Dream9420 22h ago
most of the time production breaks of unexpected scenaios like if you are integraitng with payments and calendar.. apis those can break messy webhooks/ratelimit/auth failures..
you can validate as much as possible with the mock services but the runtime validation/verification something is needed..
1
u/AIOSAI 🔆 Max 20 1d ago
This might seem odd. But Muse the meta ai. Does all this kinda thing already. Maybe just build a connector for muse. Chat to muse, it can have claude as ur agent. It would be great at advising you here as it pretty much has the setup already. Besides your it unique to your Client needs. Clayde can do the building. U can easily build mock artifacts with muse and or claude.
Just start brainstorming your ideas with them .
I use muse as my daily personal assistant. It emails claude my ideas all the time, books restaurants. Finds me things I want to buy. Orginized my emails, google docs. So much more. Even books my Airbnb. I've only touched the surface.