Menu

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:

BoilerplateRepositoryLive DemoDescription
NextyGithubVisit DemoUniversal SaaS Boilerplate
nexty-flux-kontextGithubVisit DemoAI image generation website boilerplate based on Nexty and Flux-Kontext model
nexty-directoryGithubVisit Live SiteDirectory site boilerplate based on Nexty
repo-access

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.

FeatureDescription
AuthenticationBased on Better-auth, supports multiple authentication methods including Google, Github, Magic Link
DatabaseBased on Drizzle ORM, supports Supabase, Neon and self-hosted Postgres
PaymentBased on Stripe, supports monthly, yearly and one-time payments, includes complete one-time payment and subscription payment flows, built-in credit system
AI DemoAPIs and AI model testing playground based on Vercel AI SDK, OpenRouter and Replicate
Visual Pricing Plan ManagementAdmin 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
CMSSupports setting content editing status, access permissions, integrated AI translation features, suitable for building personal blogs, tool site blog modules, or paid content platforms
Email SubscriptionEmail subscription functionality built on Resend and Cloudflare, making your email marketing more professional
File StorageFile storage and management functionality based on Cloudflare R2
Multi-language SupportBuilt-in i18n internationalization support, easily add multiple languages
SEO OptimizationBoilerplate 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 StackModule
Next.jsReact full-stack framework
Tailwind CSSEfficient styling
Shadcn UIComponent library
Better-authAuthentication
Drizzle ORMTypeScript-friendly database ORM, Nexty boilerplate defaults to Postgres
UpstashRedis caching + rate limiter
StripeSecure payment processing
Vercel / DokployOne-click deployment
Vercel AI SDK / OpenRouter / ReplicateAI capabilities integration
ResendEmail service
Cloudflare R2File 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
hero
hero
  • Features
features
  • Pricing
pricing
  • Call to Action
cta

Authentication

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

login
login 2

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.

ai-demo

Blog

blogs

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.

cms
cms

Visual Pricing Management

prices
prices
prices
prices
prices

User Dashboard

  • User Settings
settings
  • Subscription Information
subscription
  • Credit Logs
credit logs

Admin Dashboard

  • Overview
admin-overview
  • User Management
admin-users
  • Order Management
admin-users
  • Pricing Management
admin-prices
  • Blog Management
admin-blogs

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: