1.0.5 • Published 4 months ago

express-mvcx v1.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
4 months ago

Express-MVCX

šŸš€ Express-MVCX is a simple CLI tool that helps you quickly set up an Express.js project with an MVC architecture. It streamlines project creation by cloning a pre-configured Express.js starter template.

šŸ“¦ Installation & Usage

One-Step Command

Instead of using npm i express-mvcx, run:

npm exec express-mvcx my-app

This will install and execute the package in a single step.

Global Installation (Optional)

Alternatively, you can install it globally:

npm install -g express-mvcx

Then create a new project with:

express-mvcx my-app

šŸ“œ Features

āœ… Pre-configured MVC structure
āœ… Built-in authentication (JWT + bcrypt)
āœ… Database options: MongoDB
āœ… Supports JavaScript
āœ… Generates an Express.js project with authentication & middleware
āœ… Interactive CLI using Inquirer.js


šŸ“‚ Folder Structure

Once installed, your project will have the following structure:

my-app/
│── public/
│── src/
    │── config/
    │── controllers/
    │── middlewares/
    │── models/
    │── routes/
    │── utils/
    │── app.js
    └── server.js
│── .env
│── .gitignore
└── package.json

šŸ› ļø Requirements

  • Node.js (v16+ recommended)
  • Git (to clone the repository)

šŸ—ļø Contributing

Want to improve this project? Feel free to fork the repo and submit a pull request! šŸš€

Clone the repo:

git clone https://github.com/Kuldeep-Rathod/express-mvcx.git
cd express-mvcx
npm install

šŸ“„ License

This project is licensed under the MIT License.


šŸ”— Links


šŸ“¢ Support

If you find this package helpful, ⭐ star the repo on GitHub!
For issues, open a ticket in the GitHub Issues.

Happy Coding! šŸš€