Powering Next-Gen Apps

Launch your MVP at lightning speed.

Next.js 16 + TypeScript + Tailwind 4. Auth, payments, credits, admin — ready to go.

Core Modules

Everything for MVP,
out of the box.

Auth, payments, credits, admin — four core modules fully integrated.

Auth & Security

Better Auth powered. OAuth login, lockout, fingerprint protection, Turnstile.

Payments & Subscriptions

Stripe / Creem dual gateway. Monthly/yearly, webhooks, self-service portal.

Credits & Admin

Paid/free credits with expiration. Analytics, permissions, settings included.

Build your SaaS product.

Modern stack. One person can build enterprise apps.

Essential

Type-Safe

Full-stack TypeScript. Drizzle ORM for PostgreSQL / SQLite.

interface User { id: string; role: 'admin' | 'user'; }

i18n & Themes

i18next multi-language. Light/dark/tech themes, semantic CSS variables.

Blog & SEO

MDX multi-language blog. Sitemap, metadata, JSON-LD auto-generated.

Cron & Notifications

Credits replenishment, log cleanup. Resend email, in-app, newsletter.

Security

Zod validation, permission checks, Turnstile captcha, audit logs.

Cloud Storage

R2/S3 compatible storage. Universal file upload API, ready to use.

Motion & UI

Framer Motion + AOS animations. Shadcn/ui 50+ components.

Deploy your
first version today.

Cloning the repository takes only 30 seconds. Join the Hex2077 developer community and double your ROI.

Clone on GitHub

Independent developers are changing the game.

Thousands of developers use this boilerplate to launch their products in days.

"This is literally cheating."

"I used to spend two weeks configuring Webpack and Auth, now with Hex2077 Starter it only takes 5 minutes. I got my first paying customer last week."
FullStackDev99

Indie Maker

"The best Next.js template."

"The code structure is very clear, TypeScript type definitions are perfect. The integrated Stripe payment flow saved me at least 20 hours of debugging time."
IndieHacker_X

SaaS Founder

"Worth every penny."

"As a backend-challenged developer, the Drizzle and API route examples saved my life. If you want to quickly validate ideas, this is the tool for you."
SarahBuilds

Freelancer

Frequently Asked Questions

Which payment gateways are supported?
The system pre-integrates Stripe and Creem payment gateways using a strategy pattern design, switchable via GatewayFactory. Supports monthly/yearly subscriptions, one-time purchases, unified webhook handling, and user self-service portal.
How does the credits system work?
The credits system supports paid and free credits. Paid credits are obtained through purchases or subscription rewards, while free credits support expiration dates and are consumed first. The system also supports automatic subscription grants and one-time credit package purchases.
What features does the admin dashboard have?
The admin dashboard provides complete operational tools: analytics dashboard, user and permission management, subscription and credits management, system settings (payment gateways/email service/security policies), maintenance mode toggle, and detailed operation audit logs.
Which databases are supported?
The system is built on Drizzle ORM, supporting both PostgreSQL and SQLite databases. Schema definitions stay synchronized, allowing you to choose flexibly based on project requirements.
How is multi-language support implemented?
Full-site internationalization is based on i18next, automatically switching languages based on URL prefix. Supports smooth translation for both Server Components and Client Components, with language dictionaries located in the public/locales/ directory.
What security features are included?
The system includes multiple security mechanisms: login failure lockout, registration fingerprint protection, Cloudflare Turnstile captcha, API-level Zod parameter validation, server-side permission verification, and complete admin operation audit logs.
Hex2077 Starter - Best SaaS Template for Indie Developers.