Templates
Project templates are the starting point for every create-awesome-node-app project. Each template is a complete, production-ready project skeleton for a specific technology stack.
What is a template?
A template provides the initial directory structure, configuration files, and tooling for a new project. When you run create-awesome-node-app, you pick a template and optionally layer extensions on top of it to add functionality like state management, testing, or UI libraries.
npx create-awesome-node-app my-app --template react-vite-boilerplateEach template ships with an AGENTS.md file that scopes how AI coding assistants interact with the generated repository. Learn more about AGENTS.md →
Available templates
The following templates are maintained in the cna-templates repository. There are currently 10 templates available.
type: nestjs-backend
View templatetype: nextjs
View templatetype: monorepo
View templatetype: react
View templatetype: webextension-react
View templatetype: webdriverio
View templatetype: nextjs-saas-ai
View templatetype: remix
View templatetype: astro
View templatetype: hono
View templateUsing templates
Interactive mode
Run without arguments and the CLI will prompt you to pick a template and extensions:
npx create-awesome-node-app my-app --interactiveNon-interactive mode
Pass --template (and optionally --addons) to skip prompts:
npx create-awesome-node-app my-app --template react-vite-boilerplate --addons react-zustand react-testing-library-with-vitestList all templates
npx create-awesome-node-app --list-templatesTemplate structure
Every template lives in the templates/ directory of the cna-templates repository and follows this layout:
templates/
└── your-template-name/
├── src/ # Source code
├── public/ # Static assets (frontend templates)
├── .gitignore
├── package.json
├── README.md
├── AGENTS.md # AI assistant contract
└── tsconfig.jsonTemplate files can use EJS-style template tags (<%= variable %>) to inject values collected during project creation (e.g. project name, src directory).