NeatNode
π Plug & Play Node.js backend starter CLI - instantly scaffold Express apps with clean structure & ready-to-code setup.
Install / Use
/learn @aakash-gupta02/NeatNodeREADME
Overview
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.
Features
- 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
Installation
# Install globally
npm install -g neatnode
or run it directly using npx:
npx neatnode my-app
Usage
-
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 Types
| 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.) |
Previews
Frontend Website
Official landing page for NeatNode
<img src="https://i.postimg.cc/85QVd7pn/Untitled-design.png" alt="NeatNode Landing Page" />
Documentation Website
Comprehensive docs built with Nextra
<img src="https://i.postimg.cc/QNY0vR5r/Untitled-design-1.png" alt="NeatNode Docs" />
Project Structure
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
Example CLI Output
$ 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
Learn More
- π Documentation
- π» Website
- π§° NPM Package
Contributing
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.
Author
Aakash Gupta GitHub β’ Website
License
This project is licensed under the MIT License β feel free to use, modify, and distribute.
<div align="center"> <sub>Built with β€οΈ by Aakash Gupta | NeatNode Β© 2025</sub> </div>
Related Skills
imsg
349.2kiMessage/SMS CLI for listing chats, history, and sending messages via Messages.app.
node-connect
349.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
oracle
349.2kBest practices for using the oracle CLI (prompt + file bundling, engines, sessions, and file attachment patterns).
lobster
349.2kLobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (s
