A simple CLI tool to generate a Node.js backend folder structure with basic starter code, including Express
, Mongoose
, 'body-parser' , 'cors' and 'dotenv' packages.
You can install the backend structure generator using npx.
npx my-foldy
my-project/
├── src/
│ ├── controllers/
│ ├── routes/
│ ├── models/
│ ├── middlewares/
│ └── utils/
├── public/
└── tests/
└── .gitignore
└── .env
- Project Name:
? Enter the project name: my-project