quick-node-server

1.0.5 • Public • Published

Quick Node Server

Quick Node Server is a CLI tool that helps you set up a Node.js project with Express.js and optional MongoDB configuration in just a few seconds.

📌 Features

  • Automatically generates a Node.js + Express.js project structure.
  • Option to set up MongoDB connection.
  • Pre-configured project with dotenv, cors, and express.
  • Organized folder structure following best practices.

📂 Project Structure

project-name/
│── src/
│   ├── api/v1/
│   │   ├── controllers/
│   │   ├── routes/
│   │   ├── models/
│── config/
│   ├── db.js
│── .env
│── package.json
│── app.js

🚀 Installation

To install Quick Node Server, run the following command globally:

npm install -g quick-node-server

⚡ Usage

To create a new Node.js project, run:

quick-node-server myProject

Or using npx (without global installation):

npx quick-node-server myProject

This will create a new project folder myProject with the predefined structure.

📡 MongoDB Setup

If you choose to set up MongoDB, a connection file (config/db.js) will be generated automatically.

🛠️ License

This project is licensed under the MIT License.

👨‍💻 Author

Kartik Barman

Package Sidebar

Install

npm i quick-node-server

Weekly Downloads

0

Version

1.0.5

License

MIT

Unpacked Size

7.41 kB

Total Files

7

Last publish

Collaborators

  • developer_kartik