Welcome to Next-Platter, a CLI tool designed to streamline the creation of new Next.js projects with pre-configured templates.
Next-Platter is your go-to CLI tool for generating Next.js project templates. Think of it as a plate of templates 🍽️ you can pick from, allowing you to quickly scaffold your Next.js project with minimal setup and best practices already in place.
The main goal of Next-Platter is to eliminate the repetitive setup tasks when starting new Next.js projects. Instead of manually configuring tools like Tailwind CSS, TypeScript or Cypress, you can rely on Next-Platter to provide templates with everything set up for you.
You can create a new project using this template in three ways:
Using npm
globally:
npm install -g next-platter
next-platter my-app
Using npx
:
npx next-platter my-app
Using create-next-app
with a template:
create-next-app
command with your template:npx create-next-app@latest --example https://github.com/Adel2411/next-platter/tree/main/template my-app
cd my-app
npm run dev
(More templates coming soon!)
Each template provides a well-organized folder structure to guide you on where to place pages, components, features, hooks, and more.
(Refer to each template’s README for specific details.)
Templates include Docker configuration for containerized development.
Cypress is pre-configured for end-to-end testing in each template.
Each generated project will include its own README with template-specific details on folder structure, features, and usage.
Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue or submit a pull request.
Start your Next.js project faster and smarter with Next-Platter! ⚡