0.1.24 • Published 2 years ago
create-nextjs-flex v0.1.24
create-nextjs-flex
A flexible Next.js boilerplate creator with optional React Query, Apollo, Zustand, and AI integration.
Installation
Install the package globally using npm:
npm install -g create-nextjs-flexUsage
To create a new project, run:
create-nextjs-flex <project-name> [options]Options:
-y, --yes: Skip prompts and use default options-v, --version: Output the current version
Examples:
Create a basic Next.js project:
create-nextjs-flex my-appFeatures
- Next.js 13+ with App Router
- TypeScript
- Tailwind CSS
- ESLint
- Optional integrations:
- React Query
- Apollo Client
- Zustand
- AI services (OpenAI, Claude, or Vercel AI)
- Flexible service architecture (functional or class-based)
Project Structure
The generated project will have the following structure:
my-project/
├── src/
│ ├── app/
│ ├── components/
│ ├── lib/
│ ├── services/
│ └── utils/
├── public/
├── .gitignore
├── next.config.js
├── package.json
├── README.md
├── tailwind.config.js
└── tsconfig.jsonAdditional files and directories will be created based on the options you choose.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License.
0.1.24
2 years ago
0.1.23
2 years ago
0.1.22
2 years ago
0.1.21
2 years ago
0.1.20
2 years ago
0.1.19
2 years ago
0.1.18
2 years ago
0.1.17
2 years ago
0.1.16
2 years ago
0.1.15
2 years ago
0.1.14
2 years ago
0.1.13
2 years ago
0.1.12
2 years ago
0.1.11
2 years ago
0.1.10
2 years ago
0.1.9
2 years ago
0.1.8
2 years ago
0.1.7
2 years ago
0.1.6
2 years ago
0.1.5
2 years ago
0.1.4
2 years ago
0.1.3
2 years ago
0.1.2
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago