next2point0
v1.1.3
Published
Modern Next.js starter template featuring a scalable, feature-based architecture for frontend and backend development.
Maintainers
Readme
next2point0
Modern Next.js starter template with a scalable, feature-based architecture — scaffold a new app in seconds.
A zero-config CLI that bootstraps a production-ready Next.js project from the next2point0 template — pick a Frontend or Frontend + Backend flavor and start coding.
Quick Start
npx next2point0 my-appThat's it. The CLI will:
- Ask you to pick a template (Frontend or Frontend + Backend)
- Clone the chosen branch into
./my-app - Detach git history and initialize a fresh repo
- Print the next steps for your detected package manager
Usage
npx next2point0 <project-name> [options]Options
| Flag | Alias | Description |
| --- | --- | --- |
| --template <name> | -t | Template to use: frontend or fullstack |
| --pm <name> | | Package manager hint for the next-steps message: bun, pnpm, npm, yarn |
| --skip-git | | Skip initializing a new git repository |
| --yes | -y | Accept defaults (template: frontend) |
| --help | -h | Show help |
| --version | -v | Show version |
Examples
# Interactive — pick a template via prompt
npx next2point0 my-app
# Fullstack template with pnpm hint
npx next2point0 my-app -t fullstack --pm pnpm
# Non-interactive, defaults to frontend
npx next2point0 my-app -y
# Don't initialize a fresh git repo
npx next2point0 my-app --skip-gitTemplates
| Template | Branch | What's inside |
| --- | --- | --- |
| Frontend | main | Next.js + Tailwind CSS, feature-based folder structure |
| Frontend + Backend | feat/backend | Everything in Frontend, plus API routes and backend scaffolding |
Both templates ship with a scalable, feature-first folder layout so your app stays organized as it grows.
Requirements
- Node.js
>= 16 - git available on
PATH - One of:
bun,pnpm,npm, oryarn(auto-detected)
Install Globally (Optional)
You don't need to install anything — npx handles it. But if you'd rather have it on your machine:
npm install -g next2point0
next2point0 my-appThe binary is also exposed as create-next2point0.
After Scaffolding
cd my-app
<pm> install # bun / pnpm / npm / yarn
<pm> run devOpen http://localhost:3000 and you're off.
Contributing
Issues and PRs are welcome on the GitHub repo. If you'd like to add a new template variant, open an issue first to discuss the structure.
