ProWeb is a simple CLI tool that creates a complete Node.js backend setup (Express + MongoDB) with one command. It was built to save time by avoiding the repetitive process of setting up folder structures, auth, environment files, and configurations manually.
Run:
npx prowebIt will ask for a project name and then generate a backend project with everything pre-configured.
your-project/
│── .env
│── .gitignore
│── package.json
│── src/
│ ├── app.js
│ ├── index.js
│ ├── constants.js
│ ├── db/
│ ├── models/
│ ├── controllers/
│ ├── routes/
│ ├── utils/
│ │ ├── ApiError.js
│ │ ├── ApiResponse.js
│ │ └── asyncHandler.js
│ ├── middlewares/
│ │ ├── auth.middleware.js
│ │ └── multer.middleware.js
- Express – Server framework
- MongoDB + Mongoose – Database setup
- dotenv – Environment variable support
- jsonwebtoken – Authentication (JWT)
- bcrypt – Password hashing
- multer – File upload handling
- cookie-parser – Cookies for auth
- cors – Cross-origin resource sharing
- inquirer – Command-line prompts
-
Fork the repository
-
Clone it locally
git clone https://github.com/bhushan-2422/proweb.git cd proweb npm install -
Make your changes
-
Test locally using:
npm link proweb
-
Commit and push your changes
-
Create a pull request
- integrating some more repetitive packages
- Option to choose between different databases
- Frontend + backend full-stack template
You can open an issue in the repository for bugs, suggestions, or improvements. Contributions are welcome.