nodebuilder-xd
v5.0.0
Published
Plug & Play Node.js backend starter templates — build REST APIs, socket servers, and more in seconds.
Maintainers
Readme
Overview
NodeBuilder is a plug-and-play CLI that scaffolds clean, production-ready Node.js backends 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
- Multiple templates: Basic API, REST API, and Socket API
- Clean MVC folder structure
- Optional CRUD scaffolding (User or Todo)
- Integrated logging (Winston + Morgan)
- Security middleware (Helmet, Rate Limiter)
- Dynamic CLI with file removal & template customization
- Ready for ESM, Redis, and future TypeScript support
Installation
npm install -g nodebuilder-xdor run directly with:
npx nodebuilder-xdUsage
npx nodebuilder-xd- Enter your project name
- Choose a template (Basic / REST / Socket)
- Select whether to include CRUD examples
- Install dependencies and start your project:
cd my-app
npm install
npm run devTemplates
Basic API
Minimal Express setup with optional Todo CRUD. Perfect for small projects or quick prototypes.
REST API
Full architecture with controllers, services, models, routes, error handling, validation, and logging. Ideal for scalable, production-grade APIs.
Socket API
Express + Socket.io integration with logging and CORS setup. Best for chat apps or real-time systems.
Example Project Structure
src/
├── controllers/
├── models/
├── routes/
├── services/
├── utils/
└── app.jsBuilt With
- Node.js & Express
- Inquirer (CLI interaction)
- fs-extra & path (file system automation)
- Morgan & Winston (logging)
- Joi (validation)
- Helmet, Rate Limiter (security)
Project Screenshots
Frontend Website
Official landing page for NodeBuilder
Documentation Website
Comprehensive docs built with Nextra
Author
Raj · GitHub · Email · Website · Docs
License
MIT © Raj
