This is a package created for node js developers working with express framework to create web backend along with mongodb as database.
This package will help you create the basic structure that developer need to create as a start.
Install and create folder structure
npx create-express-structure
Start the server
npm start
Your express folder structure will be created in the following format
├── config
│ ├── db.js
├── src
│ ├── controllers
│ │ ├── userController.js
│ ├── middlewares
│ │ ├── userValidator.js
│ ├── models
│ │ ├── userModel.js
│ ├── router
│ │ ├── userRouter.js
│ │ ├── rootRouter.js
│ ├── schemas
│ │ ├── userSchema.js
│ ├── utils
│ │ ├── catchAsyncErrors.js
│ │ ├── commonFunctions.js
│ │ ├── helperFunction.js
│ │ └── responseMessages.js
├── public
├── app.js
├── server.js
├── .env
├── .gitignore
├── package.json
└── README.md
Contributions are always welcome!