express-mvcx v1.0.5
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
- GitHub: express-mvcx
- NPM Package: express-mvcx
š¢ Support
If you find this package helpful, ā star the repo on GitHub!
For issues, open a ticket in the GitHub Issues.
Happy Coding! š