This library automatically generates a clean and organized file structure for an Express.js backend project, allowing you to get started quickly with a modular architecture.
To install the library globally, run the following command in your terminal:
npm install -g backend-gen-express
After installation, execute the following command to generate the file structure:
file-generator
The following directory structure will be generated in your project:
src
├── controllers
├── db
│ └── db.js
├── middlewares
├── models
├── routers
├── app.js
└── index.js