Next Rails Template

Next Rails Template

A production-ready Next.js + Rails + PostgreSQL SaaS starter — auth, Stripe subscriptions, CSV import, charts, and CI/CD wired up so you can skip the boilerplate.

Next.js 16 · Rails · PostgreSQL · one-time purchase

Full authentication

Google OAuth and email/password, with email verification and password reset built in.

Stripe subscriptions

Checkout and the billing portal wired up, gating a real feature end to end.

Account settings

Change password and delete account, ready to go.

Real test suite

RSpec unit tests, Vitest, and a full Playwright e2e run — wired into CI, not an afterthought.

Charts & metrics

An example dashboard with aggregate metric cards and a monthly chart.

Light & dark mode

Theme-aware components throughout, no flash on load.

Legal pages included

Terms of Service and Privacy Policy stubs, ready to fill in for your business.

SEO-ready

Per-page metadata, sitemap, robots.txt, and Open Graph tags out of the box.

Product analytics wired in

PostHog ready to go with a single environment variable — pageviews plus conversion events on the CTAs.

Rate limiting & pagination

Per-IP rate limiting and server-side pagination on the API.

Sentry monitoring

Optional error monitoring and tracing across the frontend and backend.

CI/CD pipeline

A staging → production GitHub Actions pipeline, off until you opt in.

Join the waitlist

Be the first to hear about new templates and updates. No spam, just the occasional release note.

Skip the boilerplate

A production-ready starting point for $49, with the wiring a real SaaS needs already done for you.