Skip to content

a future node_modules package to facilitate the creation of architecture, routes and controllers for NodeJS APIs

Notifications You must be signed in to change notification settings

naodevtech/express-cli

Repository files navigation

Express-cli

Version 1.0.0

A future node_modules package to easer the creation of pattern, routes and controllers for NodeJS APIs

Installation

Clone the directory and put it in your project directly at the root and inside the module type

npm install || npm i 

Add these two lines in the "scripts" object inside your package.json project

"generate:pattern": "node ./express-cli/generate.mvc.js",
"generate:router": "node ./express-cli/generate.router.js"

Usage

npm run generate:pattern
npm run generate:router yourRouteName

Coming soon

Feature with possibility to choose between several patterns

Feature with the possibility of choosing which type of route we want (GET, POST, DELETE or PUT)

Feature with possibility of setting up error management automatically via the CLI

About

a future node_modules package to facilitate the creation of architecture, routes and controllers for NodeJS APIs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published