1.0.1 • Published 1 year ago

express-basic-mvc v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Express Basic mvc

npm version

Express Basic mvc is a command-line interface (CLI) tool that simplifies the process of setting up a basic Express.js project with a structured folder layout, essential packages, documentation.

Features

  • Quick Setup: Initialize a new Express project with one command.
  • MVC Folder Structure: Organized folders for controllers, models, and routes.
  • Basic Packages: Includes essential npm packages pre-configured.
  • Customizable: Easily extend or modify the generated project structure.

Installation

Install the CLI tool globally to use it from anywhere:

npm install -g express-basic-mvc

express-basic-mvc <project-name>

Alternatively, you can use npx to run the tool without installing it globally:

npx express-basic-mvc <project-name>

Project Folder Structure

my-mvc-app/
├── controllers/
│   ├── userController.js
├── models/
│   ├── userModel.js
├── views/
│   ├── userView.ejs
├── routes/
│   ├── userRoutes.js
├── public/
│   ├── css/
│   │   ├── styles.css
│   ├── js/
│       ├── script.js
├── app.js
├── package.json
├── README.md
1.0.1

1 year ago

1.0.0

1 year ago