create-next-structure
v1.0.1
Published
Opinionated, industry-standard Next.js template that makes it easy to create and maintain projects. Designed to teach a clear folder structure and coding patterns so teams and learners can follow best practices. Includes Redux Toolkit, RTK Query, auth hel
Maintainers
Readme
create-next-structure
Opinionated, industry-standard Next.js template focused on teaching a clear, maintainable folder structure so developers and teams can quickly learn, adopt, and maintain best practices. Easy to use and follow — includes Redux Toolkit, RTK Query, auth helpers, reusable UI components, and detailed documentation.
CLI tool to create a Next.js + Redux Toolkit project structure with auth, RTK Query, and a ready-to-use template.
✅ Features
- Next.js App Router layout
- Redux Toolkit + RTK Query pre-configured
- Auth flow helpers and protected routes
- Reusable UI components and layout shell
- Template documentation included
📦 Install
npm install -g create-next-structure🚀 Usage
create-next-structure my-appThen:
cd my-app
npm install
npm run dev🧩 Template docs
After generation, read:
docs/README.md(template usage overview)docs/PROJECT_STRUCTURE.mddocs/API_INTEGRATION.mddocs/ARCHITECTURE.mddocs/EXAMPLES.md
🔧 Notes
- Make sure you create
.env.localusing.env.templateand setNEXT_PUBLIC_API_URL. - Protected routes live under
app/(dashboard).
📄 License
ISC
