Comprehensive guide to using create-awesome-node-app
create-awesome-node-app
is a powerful command-line tool designed to streamline the process of setting up modern Node.js applications. It provides a collection of carefully crafted templates and extensions that help developers quickly bootstrap projects with best practices and optimal configurations.
We now provide both Cursor Rules and GitHub Copilot Instructions that offer context-aware assistance and best practices for your development workflow. Automatically applied when using templates and extensions, these configurations help you maintain consistent patterns and follow best practices.
Bootstrap projects in seconds with a single command
Choose from a variety of specialized project templates
Add only the features you need with optional extensions
Tailor templates to your specific requirements
Enhance your development workflow with AI-powered assistance. Choose from Cursor Rules or GitHub Copilot Instructions to get context-aware suggestions and best practices automatically configured in your project.
--ai-tool cursor
Cursor Rules--ai-tool copilot
GitHub Copilot--ai-tool none
No AI tools (default)Use --interactive
to be prompted for your AI tool preference
npx create-awesome-node-app my-app --interactive
Using create-awesome-node-app
is straightforward. You can create a new project with a single command:
npx create-awesome-node-app my-app
This will launch an interactive CLI that guides you through selecting a template and optional extensions for your project.
Before using create-awesome-node-app, ensure you have the following installed:
The CLI supports several options to customize your project creation:
Option | Description |
---|---|
-V, --version | Output the version number |
-v, --verbose | Print additional logs |
-i, --info | Print environment debug info |
--no-install | Generate package.json without installing dependencies |
-t, --template <template> | Specify a template for the created project |
--addons [extensions...] | Specify extensions to apply for the boilerplate generation |
--use-yarn | Use yarn instead of npm or pnpm |
--use-pnpm | Use pnpm instead of yarn or npm |
--interactive | Run in interactive mode to select options (default: false) |
--ai-tool <tool> | Specify AI tool configuration: cursor, copilot, or none (default: none) |
--list-templates | List all available templates |
--list-addons | List all available addons |
-h, --help | Display help for command |
Create a project with interactive mode:
npx create-awesome-node-app my-app --interactive
Create a project with a specific template:
npx create-awesome-node-app my-app --template react-vite-boilerplate
Create a project with a template and extensions:
npx create-awesome-node-app my-app --template react-vite-boilerplate --addons material-ui github-setup
List all available templates:
npx create-awesome-node-app --list-templates
List all available extensions:
npx create-awesome-node-app --list-addons
Create a project with Cursor Rules:
npx create-awesome-node-app my-app --ai-tool cursor
Create a project with GitHub Copilot Instructions:
npx create-awesome-node-app my-app --ai-tool copilot
Create a project without AI tools (default):
npx create-awesome-node-app my-app --ai-tool none
Or simply: npx create-awesome-node-app my-app
create-awesome-node-app offers a variety of templates for different types of applications:
Includes TypeScript, React Router, and modern tooling for frontend development.
Includes TypeScript, ESLint, and Prettier for building maintainable backend services.
Includes TypeScript, ESLint, and Prettier for rapid full-stack development.
Includes Turborepo, TypeScript, Changesets, and Workspaces for efficient multi-package management.
Includes React, Vite, TypeScript, and features like hot module replacement.
Includes WebdriverIO, TypeScript, and Selenoid for automated user acceptance testing.