create-node-structure

3.3.7 • Public • Published

NPM License

NPM Downloads

NPM Version

create-node-structure

A CLI tool to quickly set up a structured Node.js project with a predefined folder structure and necessary configurations using just a few commands.

Installation

This is a Node.js module available through the npm registry.

Before installing, download and install Node.js. Node.js 0.10 or higher is required.

Installation is done using the npm install command:

$ npm install -g create-node-structure

Features

-📂 Magic Folder Maker: Automatically conjures up a perfect project folder structure!

-✨ Pick and Choose: Optionally add commonly used folders and files – it's like a build-your-own adventure! 🛠️

-🎨 Colorful Conversations: Enjoy an interactive setup with vibrant, colorful prompts that make configuration fun! 🌈

-🧩 Piece it Together: Easily add configuration files, routes, controllers, middleware, and more – no puzzle too complex! 🧩

Quick Start

The quickest way to get started with Node Setup Wizard is to utilize the executable create-node-structure to generate an application as shown below:

Install the executable globally:

$ npm install -g create-node-structure

Create the app:

$ create-node-structure my-awesome-project

Navigate to the project directory:

$ cd my-awesome-project

NPM init for new project:

$ npm init -y

Install Dependencies:-

$ npm install express mongoose jsonwebtoken

Environment Variables:-

Replace the secret key in the .env file with your own secret key:

SECRET_KEY=your-secret-key

Start the server:

$ node index.js

View the website at: http://localhost:3000

Sample Project Structure

Project Screenshot

People

The original author of create-node-structure is Jenish Gondaliya

License

MIT

Package Sidebar

Install

npm i create-node-structure

Weekly Downloads

17

Version

3.3.7

License

ISC

Unpacked Size

44 kB

Total Files

6

Last publish

Collaborators

  • jenishgondaliya