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.
- 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-name/
│── src/
│ ├── api/v1/
│ │ ├── controllers/
│ │ ├── routes/
│ │ ├── models/
│── config/
│ ├── db.js
│── .env
│── package.json
│── app.js
To install Quick Node Server, run the following command globally:
npm install -g quick-node-server
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.
If you choose to set up MongoDB, a connection file (config/db.js
) will be generated automatically.
This project is licensed under the MIT License.
Kartik Barman