Installation
Clone & create this repo locally with the following command:
npx create-next-app my-saas-project --example "https://github.com/mickasmt/next-auth-roles-template"Or, deploy with Vercel:
Steps
- Install dependencies using pnpm:
pnpm install- Copy
.env.exampleto.env.localand update the variables.
cp .env.example .env.local- Start the development server:
pnpm run dev- Remove parts you don't want
You can use the command pnpm run remove-content in your terminal to remove specific parts of your project. This command supports the following parameters:
- --blog: Removes the blog section from your project.
- --docs: Removes the documentation section from your project.
Recommendations
- Remove Both Sections: It is recommended to use
pnpm run remove-contentwithout specifying parameters (--blogor--docs). This ensures that all associated documents are properly removed, as some documents may not be deleted/updated if you remove "blog" after "docs" or vice versa.
Examples
- To remove both the blog and documentation sections:
pnpm run remove-content- To remove only the blog section:
pnpm run remove-content --blog- To remove only the documentation section:
pnpm run remove-content --docs[!NOTE]
I use npm-check-updates package for update this project.Use this command for update your project:
ncu -i --format group
Source captured: 2026-10-11