NeatNode is a plug-and-play CLI tool that scaffolds clean, production-ready Node.js backend projects in seconds.
It comes with pre-built templates, optional CRUD modules, and a modern developer workflow β so you can start coding instead of configuring.
- Instant project setup β generate a complete Node.js project structure instantly
- Pre-configured templates β Basic, REST API, and Socket.io templates ready to go
- Dynamic template logic β include or remove CRUD modules easily
- Scalable architecture β prebuilt MVC folder layout
- Security-first setup β Helmet, Rate Limiter, and CORS integrated
- Built-in error handling & logging β Winston + Morgan setup
- Production-ready β clean, validated, and deployment-ready output
# Install globally
npm install -g neatnodeor run it directly using npx:
npx neatnode my-app-
Run the CLI:
npx neatnode
-
Choose your template:
- Basic Template
- REST API Template
- Socket Template
-
Follow the prompts to name your project and select options.
-
Navigate and start building:
cd my-app && npm install && npm run dev
| Template | Description |
|---|---|
| Basic | Minimal structure for any Node.js app with .env, nodemon, and clean folder setup |
| REST API | Express.js REST API boilerplate with controllers, routes, and MongoDB config |
| Socket | Socket.io server setup for real-time apps (chat, notifications, etc.) |
Official landing page for NeatNode
![]()
Comprehensive docs built with Nextra
![]()
neatnode/
βββ bin/ # CLI entry point
βββ templates/
β βββ basic/ # Basic Node.js template
β βββ rest-api/ # REST API template
β βββ socket/ # Socket.io template
βββ utils/
β βββ logger.js
β βββ prompt.js
β βββ spinner.js
βββ package.json
βββ README.md
$ npx neatnode my-app
β Select a template: REST API
β Enter project name: my-app
β Location to save: ./projects
β
Template generated successfully!
cd my-app && npm install && npm run dev
- π Documentation
- π» Website
- π§° NPM Package
We welcome contributions! Whether itβs improving the templates, enhancing CLI features, or reporting bugs β every PR helps.
- Fork the repo
- Create a new branch
- Make your changes
- Submit a pull request
See the Contribution Guide for more info.
Aakash Gupta GitHub β’ Website
This project is licensed under the MIT License β feel free to use, modify, and distribute.



