Skip to content

Commit 80c67db

Browse files
committed
chore: update environment variables and README for a new Next.js Boilerpalte
1 parent e27b85e commit 80c67db

File tree

10 files changed

+66
-36
lines changed

10 files changed

+66
-36
lines changed

.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# Need advanced features? Multi-tenancy & Teams, Roles & Permissions, Shadcn UI, End-to-End Typesafety with oRPC,
44
# Stripe Payment, Light / Dark mode. Try Next.js Boilerplate Pro: https://nextjs-boilerplate.com/pro-saas-starter-kit
55

6+
# Or, need a Self-hosted auth stack (Better Auth)? Try Next.js Boilerplate Max: https://nextjs-boilerplate.com/nextjs-multi-tenant-saas-boilerplate
7+
68
# Clerk authentication
79
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_b3Blbi1zdGlua2J1Zy04LmNsZXJrLmFjY291bnRzLmRldiQ
810

.env.production

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# Need advanced features? Multi-tenancy & Teams, Roles & Permissions, Shadcn UI, End-to-End Typesafety with oRPC,
44
# Stripe Payment, Light / Dark mode. Try Next.js Boilerplate Pro: https://nextjs-boilerplate.com/pro-saas-starter-kit
55

6+
# Or, need a Self-hosted auth stack (Better Auth)? Try Next.js Boilerplate Max: https://nextjs-boilerplate.com/nextjs-multi-tenant-saas-boilerplate
7+
68
# Hosting
79
# Replace by your domain name
810
# NEXT_PUBLIC_APP_URL=https://example.com

.github/FUNDING.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
github: ixartz
22
custom:
3-
- 'https://nextjs-boilerplate.com/pro-saas-starter-kit'
4-
- 'https://nextlessjs.com'
3+
- 'https://nextjs-boilerplate.com/nextjs-multi-tenant-saas-boilerplate'

README.md

Lines changed: 38 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -199,41 +199,48 @@ Open http://localhost:3000 with your favorite browser to see your project.
199199

200200
Need advanced features? Multi-tenancy & Teams, Roles & Permissions, Shadcn UI, End-to-End Typesafety with oRPC, Stripe Payment, Light / Dark mode. Try [Next.js Boilerplate Pro](https://nextjs-boilerplate.com/pro-saas-starter-kit).
201201

202-
### Free vs Pro version
203-
204-
This project offers both a free open-source version and a premium Pro version. Here's a detailed comparison:
205-
206-
| Features | Free Version | Pro Version |
207-
|---------|:------------:|:-----------:|
208-
| **Authentication** |||
209-
| **Social Login (Google, Facebook, GitHub, etc.)** |||
210-
| **Multi-Factor Auth & User Impersonation** |||
211-
| **Multi-tenancy & Team Support** |||
212-
| **Role-based Access Control (RBAC)** |||
213-
| **Landing Page (Hero, Features, Pricing)** |||
214-
| **Internationalization (i18n)** |||
215-
| **Drizzle ORM & Dev Database** |||
216-
| **GitHub Actions** |||
217-
| **VSCode Configuration** |||
218-
| **[Sentry Error Monitoring](https://sentry.io/for/nextjs/?utm_source=github&utm_medium=paid-community&utm_campaign=general-fy25q1-nextjs&utm_content=github-banner-nextjsboilerplate-logo)** |||
219-
| **Shadcn UI** |||
220-
| **Next.js** | 14 | 16 |
221-
| **React** | 18 | 19 |
222-
| **Tailwind CSS** | 3 | 4 |
223-
| **ESLint** | 8 | 9 |
224-
| **User Dashboard** | Basic | Extended |
225-
| **Code Quality Tools** | Basic | Extended |
226-
| **Testing: Unit, Integration, E2E, Visual** | Basic | Extended |
227-
| **Stripe Integration** |||
228-
| **Todo App Example (CRUD)** |||
229-
| **End-to-End Typesafe APIs (oRPC)** |||
230-
| **Dark Mode** |||
231-
| **Latest version** |||
232-
| **Email support (1 year)** |||
202+
Or, need a Self-hosted auth stack (Better Auth)? Try [Next.js Boilerplate Max](https://nextjs-boilerplate.com/nextjs-multi-tenant-saas-boilerplate)
203+
204+
### Free vs Pro vs Max version
205+
206+
This project offers a free open-source version and premium Pro/Max versions. Here's a detailed comparison:
207+
208+
| Features | Free Version | Pro Version | Max Version |
209+
|---------|:------------:|:-----------:|:-----------:|
210+
| **Authentication** ||||
211+
| **Self-Hosted Authentication (Better Auth)** ||||
212+
| **Social Login (Google, Facebook, GitHub, etc.)** ||||
213+
| **Multi-Factor Auth & User Impersonation** ||||
214+
| **Multi-tenancy & Team Support** ||||
215+
| **Role-based Access Control (RBAC)** ||||
216+
| **Landing Page (Hero, Features, Pricing)** ||||
217+
| **Internationalization (i18n)** ||||
218+
| **Drizzle ORM & Dev Database** ||||
219+
| **GitHub Actions** ||||
220+
| **VSCode Configuration** ||||
221+
| **Built for Humans & AI Agents (Agents.md)** ||||
222+
| **Transactional Emails (React Email)** ||||
223+
| **Bun: package manager** ||||
224+
| **[Sentry Error Monitoring](https://sentry.io/for/nextjs/?utm_source=github&utm_medium=paid-community&utm_campaign=general-fy25q1-nextjs&utm_content=github-banner-nextjsboilerplate-logo)** ||||
225+
| **Shadcn UI** ||||
226+
| **Next.js** | 14 | 16 | 16 |
227+
| **React** | 18 | 19 | 19 |
228+
| **Tailwind CSS** | 3 | 4 | 4 |
229+
| **ESLint** | 8 | 9 | 9 |
230+
| **User Dashboard** | Basic | Extended | Extended |
231+
| **Code Quality Tools** | Basic | Extended | Extended |
232+
| **Testing: Unit, Integration, E2E, Visual** | Basic | Extended | Extended |
233+
| **Stripe Integration** ||||
234+
| **Todo App Example (CRUD)** ||||
235+
| **End-to-End Typesafe APIs (oRPC)** ||||
236+
| **Dark Mode** ||||
237+
| **Latest version** ||||
238+
| **Email support (1 year)** ||||
233239

234240
**Live Demos:**
235241
- Free Version: [https://react-saas.com](https://react-saas.com)
236242
- Pro Version: [https://pro-demo.nextjs-boilerplate.com](https://pro-demo.nextjs-boilerplate.com)
243+
- Max Version: [https://max-demo.nextjs-boilerplate.com](https://max-demo.nextjs-boilerplate.com)
237244

238245
### Set up authentication
239246

playwright.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ export default defineConfig({
5454
// For each test, an organization can be created within this account to ensure total isolation.
5555
// After all tests are completed, the `teardown` file can delete the account and all associated organizations.
5656
// You can find the `setup` and `teardown` files at: https://nextjs-boilerplate.com/pro-saas-starter-kit
57+
// Or, need a Self-hosted auth stack (Better Auth)? Try Next.js Boilerplate Max: https://nextjs-boilerplate.com/nextjs-multi-tenant-saas-boilerplate
5758
{ name: 'setup', testMatch: /.*\.setup\.ts/, teardown: 'teardown' },
5859
{ name: 'teardown', testMatch: /.*\.teardown\.ts/ },
5960
{

src/app/[locale]/(auth)/dashboard/page.tsx

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const DashboardIndexPage = () => {
3737
})}
3838
button={(
3939
<>
40-
<div className="mt-2 text-sm font-light text-muted-foreground">
40+
<div className="mt-2 whitespace-pre text-sm font-light text-muted-foreground">
4141
{t.rich('message_state_alternative', {
4242
url: () => (
4343
<a
@@ -48,6 +48,19 @@ const DashboardIndexPage = () => {
4848
</a>
4949
),
5050
})}
51+
52+
<p>
53+
{t.rich('max_message', {
54+
url: () => (
55+
<a
56+
className="text-blue-500 hover:text-blue-600"
57+
href="https://nextjs-boilerplate.com/nextjs-multi-tenant-saas-boilerplate"
58+
>
59+
Next.js Boilerplate Max
60+
</a>
61+
),
62+
})}
63+
</p>
5164
</div>
5265

5366
<div className="mt-7">

src/locales/en.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@
103103
"message_state_title": "Let's get started",
104104
"message_state_description": "You can customize this page by editing the file at <code>dashboard/page.tsx</code>",
105105
"message_state_button": "Star on GitHub",
106-
"message_state_alternative": "Want more features and the latest updates from Next.js 16? Try <url></url>."
106+
"message_state_alternative": "Need advanced features? Multi-tenancy & Teams, Roles & Permissions, Shadcn UI,\nEnd-to-End Typesafety with oRPC, Stripe Payment, Light / Dark mode. Try <url></url>.",
107+
"max_message": "Or, need a Self-hosted auth stack (Better Auth)? Try <url></url>."
107108
},
108109
"UserProfile": {
109110
"title_bar": "User Profile",

src/locales/fr.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@
103103
"message_state_title": "C'est parti",
104104
"message_state_description": "Vous pouvez personnaliser cette page en modifiant le fichier dans <code>dashboard/page.tsx</code>",
105105
"message_state_button": "Mettez une étoile sur GitHub",
106-
"message_state_alternative": "Vous voulez plus de fonctionnalités et les dernières nouveautés de Next.js 16 ? Essayez <url></url>."
106+
"message_state_alternative": "Vous voulez plus de fonctionnalités et les dernières nouveautés de Next.js 16 ? Essayez <url></url>.",
107+
"max_message": "Ou, besoin d'une pile d'authentification auto-hébergée (Better Auth) ? Essayez <url></url>."
107108
},
108109
"UserProfile": {
109110
"title_bar": "Profil utilisateur",

src/types/Subscription.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ export const SUBSCRIPTION_STATUS = {
2121
// You can check out the Next.js Boilerplate Pro at: https://nextjs-boilerplate.com/pro-saas-starter-kit
2222
// On top of that, you'll get access to real example of SaaS application with Next.js, TypeScript, Tailwind CSS, and more.
2323
// You can find a live demo at: https://pro-demo.nextjs-boilerplate.com
24+
25+
// Or, need a Self-hosted auth stack (Better Auth)? Try Next.js Boilerplate Max: https://nextjs-boilerplate.com/nextjs-multi-tenant-saas-boilerplate
2426
export type PricingPlan = {
2527
id: PlanId;
2628
price: number;

tests/integration/.gitkeep

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
Place your integration tests in this folder by creating files with the `*.spec.ts` extension. These files will be automatically detected by Playwright. For a real-world example, you can check out the Next.js Boilerplate Pro at https://nextjs-boilerplate.com/pro-saas-starter-kit
2+
3+
Or, need a Self-hosted auth stack (Better Auth)? Try Next.js Boilerplate Max: https://nextjs-boilerplate.com/nextjs-multi-tenant-saas-boilerplate

0 commit comments

Comments
 (0)