/nodejs-cli

DhiWise nodejs-cli quickly helps developers to generate Node.js applications through CLI. Moreover, helps developers extend node.js applications created on DhiWise.

Primary LanguageHTMLApache License 2.0Apache-2.0

NPM version GitHub stars NPM total downloads NPM monthly downloads NPM license PRs Welcome

logo


DhiWise Node Generator

DhiWise Node generator is a development package to quickly generate Node APIs and Module which includes route, controller, model and joi validation. It helps you to speed up productivity in back-end projects such as node-mongoose and node-sequelize with clean-code and mvc architecture.

Visit https://www.dhiwise.com/node for more details.

How it works ?

DhiWise Node generator requires your basic inputs and a few pre-defined configurations. From those configurations DhiWise CLI engine works to create a custom template for your Node.js application, it automates the most basic and menial task which takes developers days and weeks to program. The code it generates is more than just a boilerplate. It is a production-ready code!

Support & community

If you have any issue or idea or question, share it with us via any of the below options and we will help you asap -

Table of Contents

Installation

To install the latest version run the following command:

npm i -g @dhiwise/node-generator

Get Started

DhiWise Node Code Generator provides the following command to generate the code:

dhi create-app

above command will use to generate more than boilerplate application (which includes two platform: admin and device, user model,authentication and authorization, seeders, user controller with CRUD and many others methods and route and joi validation file)

dhi create-model

above command will ask you for the model name and attribute. it will generate single model file in the model directory of your project.

dhi create-api

above command will use to create single API in your specific platform or module.

dhi create-module

above command will use to generate whole module (which include model, controller with CRUD and many others methods, route and joi validation file) in the particular platform.

Contributions

Want to report a bug or have a great feature to contribute? Check out our contributing guide for more details.

Stay up to date

We occasionally send out product and technology updates. Get the latest from DhiWise by subscribing to our newsletter. Signup to our newsletter using link below : https://www.dhiwise.com/subscription

Jobs

If you are interested in working for DhiWise, click here to see open positions.

License

DhiWise is distributed under Apache 2.0 with Commons Clause license.