exp-dev
v1.0.1
Published
A CLI tool to generate a professional Express.js backend folder structure
Maintainers
Readme
exp-dev
A CLI tool to quickly generate a professional Express.js backend folder structure.
Installation
npm install -g exp-devor
npm install exp-devUsage
Run the following command to generate a new Express.js backend project structure:
ex-dev backendUsing npx (No installation required)
You can also run the generator directly without installing it globally:
npx exp-dev backendGenerated Folder Structure
backend/
│── server.js
│── package.json
│── .env
│
├── models/
├── services/
├── validator/
├── middleware/
├── routes/
├── controllers/
├── config/
│ └── db.js
├── constant/Next Steps
After generating the backend folder structure, run the following commands to install dependencies and start the server:
cd backend
npm install
npm run dev