Auth, payments, and email — already wired.
Prewired Kit is a Next.js SaaS boilerplate: one opinionated stack, working end to end, before anything fancy gets bolted on. Payments run through a merchant of record, so you’re not the one registering for VAT.
// order_created → grant access, send receipt
if (event.name === "order_created") {
await grantAccess(email);
await resend.emails.send({
from: "receipts@prewired.dev",
to: email,
subject: "You're in — here's your kit",
});
}Built in public: this page started as a $39 template for sale. A day of research said that pitch wouldn’t work, so it’s a free homepage now and Prewired Kit is the actual product. Follow the build at @prewireddev.
What’s inside
One stack, not a buffet
Next.js, TypeScript, Tailwind, Auth.js, Prisma, Lemon Squeezy, Resend. Picked once and wired together — nothing to configure, nothing to swap out.
Auth that's actually finished
Email magic-link sign-in, real sessions, a protected route. Not a half-wired OAuth stub you have to finish yourself.
Payments through a merchant of record
Checkout and webhooks run through Lemon Squeezy, wired to grant access automatically. You don't register for VAT in nine countries to sell software.
Transactional email, tested end to end
Magic links and order receipts both run through the same Resend setup — the same one, tested, not two half-built integrations.
Why this exists
Most “landing page template” businesses don’t work anymore — free equivalents are everywhere and AI will generate a decent one-off page from a prompt. What AI is still bad at: correctly wiring auth, payments, and webhooks without leaving a hole in it. That’s the part worth paying for, so that’s what Prewired Kit is.
Built by a solo dev shop (Prewired), sold the same way we’d want to buy it — no subscription, no seat limits, no dashboard to log into. Pay once, own the code.
Prewired Kit
- Full Next.js + Auth.js + Prisma source, yours to keep
- Lemon Squeezy checkout + webhook, wired and tested
- Email magic-link auth + transactional email via Resend
- One opinionated stack — no config sprawl
- No subscription, no seat limits
Not sold yet — checkout opens at launch. Join now for 20% off.