2.0.4 • Published 9 months ago

node-mvc-gen v2.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Node MVC Generator

Node Fullstack Generator is a command-line tool that helps you quickly generate a complete Node.js project structure with controllers, routers, models, and more.

Installation

You can install the package globally using npm:

npm install -g node-mvc-gen

Usage

Generate a new project structure by running the following command:

generate <project-name>

Replace with the desired name for your project.

Features

Features

  • Project Structure: Automatically generate directories for controllers, routers, models, middleware, and more.
  • Express Setup: Get started quickly with a basic app.js file that sets up an Express application.
  • Dependencies: Automatically installs required packages like Express and dotenv.
  • Customization: You can extend the generated structure and add your own code as needed.

What's Included

The generated project structure includes the following components:

  • Controllers (v1, v2, v3)
  • Routes (v1, v2, v3)
  • Models
  • Middleware
  • Configuration files (db_connection.js)
  • Basic app.js with Express setup

Dependencies

  • Express: Fast, unopinionated, minimalist web framework for Node.js.
  • dotenv: Zero-dependency module that loads environment variables from a .env file.
  • fs-extra: Adds file system methods that are not included in the native fs module.
  • execa: A better child_process.

Contributing

Contributions are welcome! Feel free to fork and submit pull requests to improve this project.

License

MIT

2.0.4

9 months ago

2.0.3

9 months ago

2.0.2

9 months ago

2.0.1

9 months ago

2.0.0

9 months ago

1.0.9

9 months ago

1.0.8

9 months ago

1.0.7

9 months ago

1.0.6

9 months ago

1.0.5

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago