This is the official website for Create Awesome Node App, a tool that helps you quickly set up Node.js projects with best practices and modern tooling.
Tip
This project was initialized with create-awesome-node-app. DO NOT USE THIS TEMPLATE DIRECTLY! Instead, create your own project using the command and following the interactive menu options. For more information, refer to the documentation!
- ⚡️ Instant HMR (Hot Module Replacement) - Leveraging Next.js for fast refreshes and updates during development.
- ⚛ React Integration - Utilizes React for building the user interface.
- 🦾 TypeScript Support - Ensures type safety with TypeScript.
Discover more about the project structure, available scripts, and much more in the docs folder!
- TypeScript - For type-safe code.
- eslint - A linter tool for identifying and reporting on patterns in JavaScript and JSX.
- prettier - An opinionated code formatter for clean and consistent code style.
- husky - Simplifies the use of Git hooks in your project.
- lint-staged - Allows running linters on git staged files to catch errors before they're committed.
fnm use
pnpm install
pnpm run devFor most development work, you'll primarily use pnpm run dev. However, you have additional scripts at your disposal for various tasks:
| pnpm run <script> | Description |
|---|---|
npm run dev |
Starts the local development server for building and previewing your application. |
npm run format |
Formats the codebase using Prettier to ensure consistent code styling. |
npm run lint |
Runs linting on the codebase to identify and report on patterns with eslint. |
npm run lint:fix |
Automatically fixes linting errors in the codebase where possible. |
Scripts for preparing and viewing the production version:
| pnpm run <script> | Description |
|---|---|
npm run start |
Serves your application using the production setup, ensuring it's ready for deployment. |
npm run build |
Compiles the application into the dist/ directory, preparing it for production deployment. |
Bug reports, feature requests, and pull requests are welcome on the Create-Node-App/website repository!