express-command
v0.0.2
Published
Command line interface tool for generating files used in express applications
Downloads
6
Maintainers
Readme
express-cli
Description
This project provides a command-line interface for creating a basic structure for controllers, models, and database setups in a Node.js application. It streamlines the setup process by generating boilerplate code for new components.
Features
- Create database structures
- Generate controller classes
- Create model classes
Prerequisites
- Node.js (v14 or later)
- npm (Node Package Manager)
Installation
Clone the repository:
git clone https://github.com/your-username/your-repo.git cd your-repo
Customization
You can adjust the examples and descriptions as needed to better fit your specific implementation. Let me know if you need any further modifications or additions!
Usage
- Install globally by running npm i -g express-command
- eg controller controller-name
- eg model model-name
- eg db