Next.jsReact后台SaaS启动器

novasaas — Next.js 后台模板

作者 dvanessa

基于 Next.js 与 TypeScript 的开源 SaaS 后台管理模板,包含演示认证、角色权限、主题切换与仪表盘界面,需自行接入后端。

看看你的网站会是什么样

浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。

2 个预览视图
桌面端首页1 / 2
桌面端截图首屏预览

由服务器浏览器实际访问页面后截取。

全部页面与视图 2

截图用于了解视觉与布局,交互效果请以实际项目为准。

采集于 2026-10-09查看来源

值得关注的模板亮点

从已有项目资料中,快速了解它的特点。

01

响应式应用外壳,含桌面与移动端导航、可折叠且记忆偏好的侧边栏

02

仪表盘展示指标、收入可视化、套餐分布与活动记录

03

浅色、深色与跟随系统三种主题,支持 Cmd/Ctrl + K 键盘命令菜单

04

演示认证流程与类型化角色权限,导航按权限显示并带客户端守卫

05

基于 Radix UI 原语的可复用组件,并提供 /design-system 设计系统展示页

06

使用 Vitest 与 React Testing Library 的自动化测试,附带 Netlify 配置

模板详细介绍

NovaSaaS Free 是一个用 Next.js、TypeScript 和 Tailwind CSS 构建的 SaaS 后台管理前端启动模板。它提供响应式应用外壳(桌面与移动端导航)、可折叠并记忆浏览器偏好的侧边栏、包含指标、收入可视化、套餐分布与活动记录的仪表盘,以及浅色、深色和跟随系统三种主题。界面组件基于 Radix UI 原语构建,包含键盘命令菜单(Cmd/Ctrl + K)、通知预览、组织切换器和用户菜单,并在 /design-system 提供设计系统展示页。

模板内置演示性质的认证流程(登录、注册、找回密码、重置密码、邮箱验证)以及类型化的角色与权限配置,导航会根据权限显示或隐藏,并配有客户端路由守卫。演示账号为公开的前端固定数据,不经过服务器验证。仪表盘中的指标、图表、用户、组织、订阅、账单等全部为演示数据。

项目明确说明自己是前端启动器而非生产级认证系统:会话模拟存储在浏览器本地存储中,没有后端、数据库、OAuth、JWT、密码哈希、真实支付或邮件发送。侧边栏还包含分析、组织、用户、角色、订阅、账单、发票、通知、审计日志和设置等页面入口,但这些页面只提供导航、权限与布局基础,并未实现后端业务操作。生产使用需要自行接入 API 与数据库,并在服务端实施授权。

Next.jsReact后台SaaS启动器

适合你的项目吗?

适用场景

  • 作为 SaaS 后台管理界面的前端起点,先搭建外壳、导航与仪表盘布局
  • 演示或原型中展示角色与权限控制的导航和访问受限页面
  • 作为设计系统与可访问组件(Radix UI 原语)的参考实现

适合人群

  • 需要 Next.js + TypeScript + Tailwind CSS 后台前端骨架的开发者
  • 准备自行接入 API、数据库与生产认证的团队
  • 希望参考角色权限与主题切换前端实现的个人项目

上手与定制指南

结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。

  1. 1

    需要 Node.js 20.9 或更高版本、npm 10 或更高版本

  2. 2

    克隆仓库后执行 npm ci 安装依赖,再运行 npm run dev 启动开发服务器

  3. 3

    演示账号(如 [email protected] / password)为公开前端固定数据,不可用于生产

  4. 4

    生产使用前需替换 src/features/auth/services/auth.service.ts 中的演示认证服务,并接入自有后端与数据库

  5. 5

    部署到 Netlify 时使用构建命令 npm run build、发布目录 .next,项目不使用静态导出

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。

使用时需要遵守

  • 允许免费使用、修改、商用和分发该版本代码。
  • 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
  • 代码按现状提供;担保与责任限制以原许可证及适用法律为准。

额外费用与待核对事项

  • 项目资料提及可选付费版本或功能;本次仅收录公开免费代码,不包含付费升级。
  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
  • 演示账号仅为公开前端固定数据,不经过服务器验证,严禁在生产环境中复用。
  • 仪表盘中的指标、图表、活动、用户、组织、订阅、账单等全部为演示数据,不可直接用于生产。
  • 生产使用前必须自行接入后端/API 与数据库,实施服务端授权并配置生产认证。
  • 本项目是前端启动器,并非生产级认证系统,不能直接用于生产认证。
  • 会话为模拟实现,仅存储在浏览器本地存储中,不具备真实安全性。
  • 路由守卫与隐藏控件只是展示行为,并非安全边界,不能作为访问控制手段。
  • 项目不含后端、数据库、OAuth、JWT、密码哈希、真实支付处理或邮件发送功能。
  • 生产授权必须由自有后端对每个受保护端点和数据操作强制执行。
  • 分析、组织、用户、角色、订阅、账单等页面仅提供导航、权限与布局基础,未实现后端业务操作。
  • 高级数据表格、CRUD 工作流、可配置角色、账单界面、更丰富分析、API 适配器等属于未来 Pro 版,免费版不包含。
  • 部署到 Netlify 时依赖其自动提供的 Next.js 适配器,项目不使用静态导出。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

These credentials are public frontend fixtures. They do not authenticate against a server and must never be reused in production.

README 原文

All dashboard metrics, charts, activities, users, organizations, subscriptions, billing values, and related records displayed in NovaSaaS Free are demonstration fixture data.

README 原文

Before production use, connect your own backend/API and database, implement server-side authorization, and configure production authentication.

README 原文

NovaSaaS Free is a frontend starter, not a production authentication system.

README 原文

Sessions are simulated and stored in browser local storage.

README 原文

Route guards and hidden controls are presentation behavior, not security boundaries.

README 原文

There is no backend, database, OAuth, JWT, password hashing, real payment processing, or email delivery.

README 原文

Production authorization must be enforced by your backend for every protected endpoint and data operation.

README 原文

These pages intentionally provide navigation, permissions, and layout foundations without pretending to implement backend business operations.

README 原文

A separate future Pro edition may add advanced data tables, CRUD workflows, organizations, configurable roles, billing screens, richer analytics, API adapters, and additional layouts.

README 原文

Netlify automatically provides its Next.js adapter; this project does not use static export.

README 原文
https://github.com/dvanessa/novasaas/blob/main/LICENSEhttps://github.com/dvanessa/novasaas/blob/main/README.md

DeepSeek 根据仓库许可证和 README 整理 ·2026-10-09。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。

项目核对记录与介绍依据

模板资料

来源平台
GitHub
资料与维护参考分
资料较完整 · 85 / 100
技术栈
Next.js · React
网站类型
后台 · SaaS · 启动器
这个分数如何计算

本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。

这个项目需要核对什么

记录的仓库更新时间
2026-10-09
截图检查日期
2026-10-09

已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。

目录记录的主要技术栈是 Next.js。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。

查看具体选型方法 →

介绍的制作与核对状态

介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。

审核声明: [email protected] · 2026-10-10

查看当时使用的来源资料

SHA-256: 4ae2c957659bb481b6513e2fd0bb805de129f8a3950b37936f660bd98a4279f8

2026-10-09T19:51:45.899Z

来源文件 / 仓库
# NovaSaaS Free

An open-source SaaS admin dashboard starter built with Next.js, TypeScript,
and Tailwind CSS. NovaSaaS provides a polished frontend foundation that you can
connect to your own API, database, authentication provider, and business logic.

[View the live demo](https://novasaas-v1.netlify.app/) ·
[Open the dashboard](https://novasaas-v1.netlify.app/login)

[Join the NovaSaaS Pro waitlist](https://novasaas-v1.netlify.app/#pro-waitlist)

![NovaSaaS Free dashboard](public/images/novasaas-dashboard.jpg)

## Highlights

- Responsive application shell with desktop and mobile navigation
- Collapsible sidebar with persisted browser preference
- Dashboard with metrics, revenue visualization, plan distribution, and activity
- Light, dark, and system themes
- Keyboard command menu with `Cmd/Ctrl + K`
- Notification preview, organization switcher, and user menu
- Demo authentication, registration, recovery, and email-verification flows
- Typed roles, permissions, permission-aware navigation, and client-side guards
- Reusable accessible components built with Radix UI primitives
- Design system showcase at `/design-system`
- Automated tests with Vitest and React Testing Library
- Netlify configuration included

## Demo accounts

| Role        | Email              | Password   |
| ----------- | ------------------ | ---------- |
| Super Admin | `[email protected]`   | `password` |
| Manager     | `[email protected]` | `password` |
| Member      | `[email protected]`  | `password` |

These credentials are public frontend fixtures. They do not authenticate
against a server and must never be reused in production.

All dashboard metrics, charts, activities, users, organizations, subscriptions,
billing values, and related records displayed in NovaSaaS Free are demonstration
fixture data. Before production use, connect your own backend/API and database,
implement server-side authorization, and configure production authentication.

## Technology

- Next.js 16 with the App Router
- React 19
- TypeScript in strict mode
- Tailwind CSS 4
- Radix UI primitives
- Lucide React
- React Hook Form and Zod
- next-themes
- Vitest and React Testing Library
- ESLint and Prettier

## Getting started

Requirements:

- Node.js 20.9 or newer
- npm 10 or newer

```bash
git clone https://github.com/dvanessa/novasaas.git
cd novasaas
npm ci
npm run dev
```

Open [http://localhost:3000](http://localhost:3000).

## Available scripts

```bash
npm run dev          # Start the development server
npm run build        # Create a production build
npm run start        # Run the production server
npm run lint         # Run ESLint
npm run typecheck    # Check TypeScript
npm run test         # Run the test suite
npm run audit:production # Audit production dependencies
npm run test:watch   # Run tests in watch mode
npm run format       # Format the codebase
npm run format:check # Check formatting
```

## Project structure

```text
src/
├── app/                 # App Router pages and layouts
├── components/
│   ├── auth/            # Authentication and permission guards
│   ├── dashboard/       # Application shell and dashboard modules
│   ├── theme/           # Theme provider and selector
│   └── ui/              # Reusable UI primitives
├── config/              # App, auth, navigation, and permissions config
├── features/auth/       # Forms, schemas, services, and auth tests
├── hooks/               # Authentication and permission hooks
├── lib/                 # Navigation, permissions, and shared utilities
├── stores/              # Demo session store
└── types/               # Shared TypeScript types
```

## Routes

The working demo includes:

- `/` — product landing page
- `/login`, `/register`, `/forgot-password`, `/reset-password`, `/verify-email`
- `/dashboard` — completed Free dashboard overview
- `/design-system` — tokens and component showcase
- `/forbidden` — access-denied state

The sidebar also includes integration-ready starter pages for analytics,
organizations, users, roles, subscriptions, billing, invoices, notifications,
audit logs, and settings. These pages intentionally provide navigation,
permissions, and layout foundations without pretending to implement backend
business operations.

## Authentication and security

NovaSaaS Free is a frontend starter, not a production authentication system.

- Sessions are simulated and stored in browser local storage.
- Route guards and hidden controls are presentation behavior, not security
  boundaries.
- There is no backend, database, OAuth, JWT, password hashing, real payment
  processing, or email delivery.
- Production authorization must be enforced by your backend for every protected
  endpoint and data operation.

The async interface in `src/features/auth/services/auth.service.ts` is the
replacement point for a real backend implementation.

## Customization

1. Update product metadata in `src/config/app.config.ts`.
2. Adjust semantic color tokens in `src/app/globals.css`.
3. Configure navigation in `src/config/navigation.ts`.
4. Configure roles and permissions in `src/config/permissions.config.ts`.
5. Replace the demo auth service with your server integration.
6. Replace dashboard fixture data with API responses.

## Deploying to Netlify

Import `dvanessa/novasaas` in Netlify and use:

```text
Base directory: (empty)
Build command: npm run build
Publish directory: .next
Production branch: main
```

The root `netlify.toml` contains the build and publish configuration. Netlify
automatically provides its Next.js adapter; this project does not use static
export.

## Free and Pro editions

NovaSaaS Free contains the reusable shell, dashboard overview, design system,
demo authentication, and permission foundations. A separate future Pro edition
may add advanced data tables, CRUD workflows, organizations, configurable
roles, billing screens, richer analytics, API adapters, and additional layouts.

| Capability                          | Free | Planned Pro |
| ----------------------------------- | :--: | :---------: |
| Responsive dashboard shell          |  ✓   |      ✓      |
| Theme and design system             |  ✓   |      ✓      |
| Demo auth and permissions           |  ✓   |      ✓      |
| Advanced analytics and filters      |  —   |      ✓      |
| Production-ready data tables        |  —   |      ✓      |
| Complete CRUD workflows             |  —   |      ✓      |
| Billing and invoice screens         |  —   |      ✓      |
| Additional layouts and API adapters |  —   |      ✓      |

Follow the repository to receive NovaSaaS Pro development updates.

## Contributing and feedback

Issues and feature suggestions are welcome in the
[GitHub repository](https://github.com/dvanessa/novasaas/issues). Please avoid
including passwords, tokens, customer data, or other private information in a
public issue.

## License

NovaSaaS Free is available under the [MIT License](LICENSE).

## Author

Created by Vanessa Duarte.
反馈内容错误

看看同类模板

对比同技术栈与用途的模板,找到更适合的视觉与内容结构。