Nexty.dev Introduction
Hi there, I am the fouder of Nexty.dev.
Welcome to Nexty's documentation, where I will provide detailed information about Nexty's features and usage methods to help you quickly familiarize yourself with this boilerplate and get started building your own SaaS.
About Nexty
Nexty is a Next.js SaaS full-stack boilerplate with complete infrastructure that enables you to quickly build various business websites, whether they are content sites, tool sites, or paid websites with integrated AI capabilities.
Nexty boilerplate is a one-time payment with lifetime updates. After purchase, you will be invited to join the source code repository, giving you permanent access to the latest code. We now provide three boilerplates for paying users:
Boilerplate | Repository | Live Demo | Description |
---|---|---|---|
Nexty | Github | Visit Demo | Universal SaaS Boilerplate |
nexty-flux-kontext | Github | Visit Demo | AI image generation website boilerplate based on Nexty and Flux-Kontext model |
nexty-directory | Github | Visit Live Site | Directory site boilerplate based on Nexty |

Good to know
- The latest version of Nexty (v3.0.0 or later) is based on Better-auth and Drizzle ORM implementation. This documentation is for the latest code version.
- Nexty v1 and v2 versions were based on Supabase auth and database implementation. If your old project is based on v2 development, please check the v2 version documentation.
Features
The boilerplate includes rich built-in features that allow you to quickly build your own SaaS product.
Feature | Description |
---|---|
Authentication | Based on Better-auth, supports multiple authentication methods including Google, Github, Magic Link |
Database | Based on Drizzle ORM, supports Supabase, Neon and self-hosted Postgres |
Payment | Based on Stripe, supports monthly, yearly and one-time payments, includes complete one-time payment and subscription payment flows, built-in credit system |
AI Demo | APIs and AI model testing playground based on Vercel AI SDK, OpenRouter and Replicate |
Visual Pricing Plan Management | Admin dashboard provides visual creation, editing, deletion of pricing plans with real-time preview, secure and convenient, Nexty is the only SaaS boilerplate that provides visual pricing plan management |
CMS | Supports setting content editing status, access permissions, integrated AI translation features, suitable for building personal blogs, tool site blog modules, or paid content platforms |
Email Subscription | Email subscription functionality built on Resend and Cloudflare, making your email marketing more professional |
File Storage | File storage and management functionality based on Cloudflare R2 |
Multi-language Support | Built-in i18n internationalization support, easily add multiple languages |
SEO Optimization | Boilerplate designed with SEO best practices for website structure and meta information, helping improve search engine rankings |
More... | Future additions will include more common SaaS product tools based on paying user feedback |
Tech Stack
Carefully selected tech stack provides a solid development foundation for your project, from frontend to backend, from database to deployment, meeting all your needs in one step.
Tech Stack | Module |
---|---|
Next.js | React full-stack framework |
Tailwind CSS | Efficient styling |
Shadcn UI | Component library |
Better-auth | Authentication |
Drizzle ORM | TypeScript-friendly database ORM, Nexty boilerplate defaults to Postgres |
Upstash | Redis caching + rate limiter |
Stripe | Secure payment processing |
Vercel / Dokploy | One-click deployment |
Vercel AI SDK / OpenRouter / Replicate | AI capabilities integration |
Resend | Email service |
Cloudflare R2 | File storage |
These tech stacks are all AI-friendly, so even if you're not familiar with technology, you can complete your own full-stack SaaS product based on the boilerplate and AI capabilities.
Landing Page
- Hero


- Features

- Pricing

- Call to Action

Authentication
Supports both login page and login modal methods. Default authentication method is login page, which can be modified through environment variables.


AI Demo
To lower the learning and development barrier, Nexty provides an AI demo page with AI examples including single-turn conversation, multi-turn dialogue, text-to-image, image-to-image, and video generation. You can reference page operations and related frontend/backend code to quickly get started with AI feature development.
If you're a user familiar with AI feature development, you can use the AI demo module as an AI API testing playground. When new AI models are released, add them to the model list for quick testing and validation.

Blog

CMS
Nexty not only supports local MDX static file blog writing but also provides an admin dashboard CMS. Moreover, Nexty is the only SaaS boilerplate that implements advanced features: multi-language support and AI quick translation, blog editing status settings, and paid access permissions for blogs. Suitable for building personal blogs, tool site blog modules, or paid content platforms.


Visual Pricing Management





User Dashboard
- User Settings

- Subscription Information

- Credit Logs

Admin Dashboard
- Overview

- User Management

- Order Management

- Pricing Management

- Blog Management

About Me
I'm a developer with over 8 years of experience in the software industry. In my day job, I mainly focus on Web frontend and Node.js development.
Since 2023, I have dedicated all my spare time to researching indie development and SaaS products. I absorbed a lot of information and tried many tech stacks with a simple goal—to find the most suitable full-stack technology solution for indie developers.
Tech stacks I have researched and practiced include but are not limited to:
- Full-stack frameworks: Next.js, Nuxt.js
- Styling & UI: Tailwind CSS, Shadcn UI, NextUI
- Authentication: NextAuth, Supabase, Firebase, Clerk, Better-auth
- Payment functionality: Lemon Squeezy, Stripe, Paddle
- AI functionality: Direct AI model calls, Vercel AI SDK, OpenRouter, Replicate
- Database and ORM: Supabase, Firebase, Upstash, MongoDB, Prisma, Drizzle
- File storage: Cloudflare R2, Vercel Storage
- Deployment: Vercel, Cloudflare, Dokploy, Zeabur, Railway
- Email services: Resend, Unsend, MailChimp
During this process, I shared experiences and insights through blogging and open-sourced several different types of project boilerplates, which were fortunately recognized and supported by many developer friends.
Through continuous practice and refinement, I finally distilled these experiences into a complete full-stack development solution, which is now the Nexty boilerplate.
Using the Nexty boilerplate, you can achieve:
- Improved time efficiency: No need to repeatedly build project infrastructure, focus your energy on product creativity
- Lower trial and error costs: No time wasted on technology selection decisions, the curated tech stack here has already paved the way for you
- Quality development experience: As a daily user of the boilerplate, I continuously discover and solve developer pain points, integrating all necessary common features
Now, let's get started! The following documentation will detail how to use Nexty to build your own SaaS product.
Support
If you have any questions or suggestions, please feel free to contact us through the following channels: