nodepilot
v1.0.7
Published
NodePilot is a powerful and customizable CLI tool designed to instantly scaffold modern Node.js + TypeScript applications. With a single command, it sets up a production-ready Express project complete with a clean folder structure, example modules, MongoD
Downloads
136
Maintainers
Readme
NodePilot
NodePilot is a powerful and customizable CLI tool designed to instantly scaffold modern Node.js + TypeScript applications. With a single command, it sets up a production-ready Express project complete with a clean folder structure, example modules, MongoDB integration, and essential developer configurations helping you start coding faster and smarter.
Features
- Auto-generates Node.js + TypeScript boilerplate
- Built-in folder structure (Express-ready)
- Integrated MongoDB setup with Mongoose
- Auto-generates sample Model, Controller, and Route files
- Pre-configured
.envand sample model for quick database connection - Includes
tsconfig.json,.env.example, and logger setup - Supports build-only publishing (
dist/only) - Works globally via
npm install -gornpx nodepilot
Installation
Install globally:
npm install -g nodepilotnodepilot my-appOr use directly without installing:
npx nodepilot my-appFor Version Check:
nodepilot -v or nodepilot --versionProject Structure
my-app/
├── src/
│ ├── app.ts
│ ├── server.ts
│ ├── utils/
│ │ ├── logger.ts
│ │ ├── catchAsync.ts
│ │ └── sendResponse.ts
│ ├── app/
│ │ ├── interface/
│ │ │ └── index.d.ts
│ │ ├── midleware/
│ │ │ └── globalErrorhandle.ts
│ │ ├── routes/
│ │ │ └── index.ts
│ │ └── modules/
│ │ └── blog/
│ │ ├── blog.interface.ts
│ │ ├── blog.model.ts
│ │ ├── blog.routes.ts
│ │ ├── blog.controller.ts
│ │ └── blog.services.ts
│ ├── config/
│ │ └── index.ts
│ └── errors/
│ └── ApiError.ts
├── .env
├── .env.example
├── .gitignore
├── package.json
├── tsconfig.json
└── dist/ (after build)Environment Variables
Example .env file:
PORT=5000
DATABASE_URL=mongodb://127.0.0.1:27017/mydbLicense
MIT © 2025 — Created by Adnan Hossain
Support
- GitHub: https://github.com/adnanhjoy/nodepilot
- Email:
[email protected] - Author: Adnan Hossain
