Skip to main content
← All notes
Building

Five integrations, one Next.js codebase, zero microservices

software

The site now talks to five external services — Stripe for payments, Google Calendar for booking, Resend for emails, Clerk for authentication, and Cloudflare R2 for file storage. All of it runs inside one Next.js app. No microservices, no message queues, no separate backend. Each integration gets its own API route that validates input, calls the external service, and returns a response. Webhooks handle the async glue: Stripe fires on payment, which triggers a confirmation email through Resend and creates a calendar event. Clerk fires on signup, which syncs the user to the database. The whole thing deploys as a single unit. One repo, one build, one deploy. When something breaks, there is exactly one place to look.

Comments coming soon

Sign in with TikTok to leave a comment. Coming soon.