Skip to content

πŸš€ Plug & Play Node.js backend starter CLI - instantly scaffold Express apps with clean structure & ready-to-code setup.

Notifications You must be signed in to change notification settings

aakash-gupta02/NeatNode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

79 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

NeatNode Logo

NeatNode

Instantly scaffold production-ready Node.js backends with one command.

NeatNode Banner

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

  1. Run the CLI:

    npx neatnode
  2. Choose your template:

    • Basic Template
    • REST API Template
    • Socket Template
  3. Follow the prompts to name your project and select options.

  4. 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

NeatNode Landing Page

Documentation Website

Comprehensive docs built with Nextra

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


Contributing

We welcome contributions! Whether it’s improving the templates, enhancing CLI features, or reporting bugs β€” every PR helps.

  1. Fork the repo
  2. Create a new branch
  3. Make your changes
  4. 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.


Built with ❀️ by Aakash Gupta | NeatNode © 2025

About

πŸš€ Plug & Play Node.js backend starter CLI - instantly scaffold Express apps with clean structure & ready-to-code setup.

Topics

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •