Install and configure ETJAH_APP
Install and configure ETJAHAPP: A Next.js authentication starter with role-based access and documented environment setup.
Follow the source instructions for ETJAH_APP. Read the prerequisites and configuration steps before running an example.
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
Check the installation
After setup, continue with the first example. If a command fails, compare the runtime version, working directory, and required configuration with the original README before changing dependencies.
Source and help
The catalog identifies the license as MIT. Read the repository license before redistributing source or assets.
Source captured: 2026-10-11
