@webinfinitesolutions/node-structure-generator
v1.0.4
Published
A CLI to set up SQL, MongoDB or postgresql starter projects.
Downloads
9
Readme
🗂️ node-structure-generator
CLI to generate a standard Node.js project folder structure with starter code and optional database integration.
Provided by Web Infinite Solutions Pvt. Ltd..
📥 Installation
Make sure you have Node.js installed.
npx @webinfinitesolutions/node-structure-generatorThe CLI will prompt you to choose a database :
SQL MongoDB PostgreSQL
The folder structure will be generated based on your choice.
🚀 Getting Started
After generating the project, navigate to your project folder and start the development server:
cd your-project-name
npm install
npm start📦 Package Info
- Name:
@webinfinitesolutions/node-structure-generator - Version: 1.0.1
- Author: Web Infinite Solutions Pvt. Ltd.
- License: MIT
🚀 Features
- Instantly generate a scalable Node.js backend project
- Supports multiple database options:
- 🟦 SQL (with Sequelize ORM)
- 🟢 MongoDB (with Mongoose)
- 🟪 PostgreSQL (via Sequelize)
- Clean and extendable folder structure
- Includes starter files for routes, controllers, models, and config
- Promotes best practices for API structure and modular development
🛠️ Customization
You can extend the CLI tool or modify the generated files to suit your architecture:
Change database config Add middleware or authentication Customize logging, error handling, etc.
🔑 Keywords
node, backend, generator, cli, express, structure, sql, postgresql, mongodb, api, starter
