quick-node-server
v1.0.5
Published
A CLI tool to generate a Node.js project with optional MongoDB setup.
Maintainers
Readme
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, andexpress. - 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 myProjectOr using npx (without global installation):
npx quick-node-server myProjectThis 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
