Skip to content

A beautiful, intelligent CLI for scaffolding Node.js projects

Notifications You must be signed in to change notification settings

Mandefro-dev/node-starter

Repository files navigation

nodex-logo

🚀 nodex

The Ultimate Node.js Backend Scaffolder
Stop writing boilerplate. Start building features.

npm version typescript license maintained

InstallationQuick StartMagic CommandsRoadmap


⚡ Why nodex?

Setting up a backend usually means folder structure headaches, repeated boilerplate, and manual configs. nodex automates the mundane so you can focus on your business logic.

🏗️ MVC Architecture Clean separation of Controllers, Services, Models, and Routes.
📘 TypeScript First Strict typing and best-practice TS configs out of the box.
✨ Resource Generator Generate full CRUD resources with a single command.
📝 Auto Documentation Swagger & Postman docs generated directly from your routes.

📦 Installation

Recommended (Run instantly via npx):

npx @mandedev/nodex <project-name>

Optional (Global Install):

npm install -g @mandedev/nodex

🚀 Quick Start

1. Initialize your project

npx @mandedev/nodex my-awesome-api

2. Start the engine

cd my-awesome-api
npm run dev

💡 Server runs at http://localhost:3000 with Hot Reloading enabled.


🛠️ Magic Commands

➕ Generate Resources

Instantly scaffold a full feature module:

nodex add product
  • Controller: src/controllers/product.controller.ts
  • Service: src/services/product.service.ts
  • Model: src/models/product.model.ts
  • Route: src/routes/product.routes.ts
  • 🪄 Auto Injection: Routes are automatically registered.

📚 Documentation

nodex doc

Generates swagger.json and postman_collection.json in the /docs folder.


🗺️ Roadmap

  • v1.0.0 – MVC scaffolding, TypeScript, MongoDB/Postgres
  • v1.1.0 – Resource generator (nodex add)
  • v1.2.0 – Frontend type sync (React / Vue)
  • v1.3.0 – Cloud deployment scripts

Built with ❤️ by mandedev

Report BugRequest Feature

About

A beautiful, intelligent CLI for scaffolding Node.js projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published