Skip to main content
Production-ready SaaS boilerplate

Build your SaaS faster

Enterprise-grade boilerplate with Next.js 15, Prisma, Auth.js, Stripe, and Resend. Authentication, payments, and emails — ready in minutes.

Auth · Payments · Multi-tenancy · API Keys · i18n · Dark Mode · CI/CD — all included

Built with

Next.js 15React 19TypeScriptTailwind CSS v4Prisma 5PostgreSQLAuth.js v5Stripe 17ResendUpstash RedisSentryVitestPlaywrightDockerGitHub Actions

Everything you need

Everything a production SaaS needs — architected correctly from day one.

Authentication

OAuth (GitHub, Google), email magic links, JWT sessions. Every new user gets a personal workspace automatically.

RBAC + Middleware

Platform roles (USER, ADMIN, SUPER_ADMIN) and org roles (OWNER, ADMIN, MEMBER) enforced at Edge — no DB call needed.

Stripe Billing

Checkout, customer portal, and 5 idempotent webhook handlers. Plan limits enforced server-side. MRR in admin panel.

Team Management

Invite by email — even users who haven't signed up yet. Pending invite flow with email + token. Role changes, removal.

API Keys

Generate scoped API keys (SHA-256 hashed, never stored plaintext). Revoke, track last-used. Per-plan limits enforced.

Transactional Email

5 React Email templates — welcome, invite, subscription, cancellation, payment failed. Idempotent via Resend.

Admin Dashboard

KPIs: users, orgs, MRR, subscriptions. Recharts analytics: signup trend, plan distribution, top events. Paginated audit log.

i18n (EN + ES)

next-intl v4. URL-based locale detection. Add any language in 4 steps. All UI strings translated.

Dark Mode

next-themes with system preference detection. Persisted across sessions. Toggle in sidebar.

CI/CD + Docker

5 GitHub Actions workflows: lint, test, E2E, build, deploy. Multi-stage Dockerfile. docker-compose for local dev.

Rate Limiting

4 tiered Upstash Redis limiters (auth, API, strict, webhooks). Edge-compatible. Sliding window, 429 + Retry-After.

Audit Logs

Immutable audit trail with IP, User-Agent, actor. SET NULL on delete — trail preserved forever. Sentry integration.

What's included

Complete source code. No subscriptions. No lock-in.

Complete Next.js 15 App Router project
PostgreSQL schema with Prisma migrations
Auth.js v5 — OAuth + magic links + JWT
Stripe checkout + webhooks (production-ready)
Multi-tenant organizations + invitations
Per-plan limits enforced server-side
API key generation and verification
Admin panel with analytics (Recharts)
5 React Email templates (Resend)
Upstash Redis rate limiting (4 limiters)
next-intl i18n (EN + ES, extensible)
Dark mode (next-themes)
Sentry error tracking configured
Vitest unit tests + Playwright E2E
5 GitHub Actions CI/CD workflows
Multi-stage Dockerfile + docker-compose
Immutable audit logs (compliance-ready)
Full TypeScript strict mode — zero `any`

Simple, one-time pricing

Buy once. Use forever. No subscriptions, no lock-in.

Starter

€149one-time

Everything you need to ship your first SaaS.

  • Full source code
  • Auth, billing & multi-tenancy
  • Unlimited personal projects
  • GitHub repository access
  • 6 months of updates
  • Community support
Buy Starter →
Most popular

Pro

€299one-time

For agencies and developers building multiple products.

  • Everything in Starter
  • Unlimited client projects
  • Commercial resale license
  • Lifetime updates
  • Priority support
  • Early access to new features
Buy Pro →

VAT may apply depending on your country. All purchases include a 7-day refund policy.

Ready to ship faster?

Join teams building enterprise SaaS with Arkeonix.

Buy once · Use for unlimited projects · Commercial license included

Arkeonix SaaS