Express commander will help you to creating Model
, Controller
, Route
, Or Services
for your Node-JS (Express)
application. You can make your workflow easier with this tool. You can use JavaScript
or TypeScript
Backend API application with this one.
To installing this, you have to pre-installed Node-JS
on your system. Then you can create your Express
Application with npm init
or yarn init
.
npm install @zibuthe7j11/voluptatem-sunt-voluptates
yarn add @zibuthe7j11/voluptatem-sunt-voluptates
After Installation done you can see there will be a directory on node_modules folder is '@zibuthe7j11/voluptatem-sunt-voluptates', Now you can easily use the product.
It will help you to creating model
or schema
for your application. By default this will be in JavaScript
and at root
of your application you can see the created model.
npx @zibuthe7j11/voluptatem-sunt-voluptates make:model <name_of_your_model>
It will help you to creating service
for your application. By default this will be in JavaScript
and at root
of your application you can see the created service.
npx @zibuthe7j11/voluptatem-sunt-voluptates make:service <name_of_your_service>
It will help you to creating controller
for your application. By default this will be in JavaScript
and at root
of your application you can see the created controller.
npx @zibuthe7j11/voluptatem-sunt-voluptates make:controller <name_of_your_controller>
It will help you to creating route
for your application. By default this will be in JavaScript
and at root
of your application you can see the created route.
npx @zibuthe7j11/voluptatem-sunt-voluptates make:route <name_of_your_route>
It will help you to creating Service
, Controller
, Route
for your application. By default this will be in JavaScript
and at root
of your application you can see the created Service
, Controller
, Route
.
npx @zibuthe7j11/voluptatem-sunt-voluptates make:all <name_of_your_resource>
It will help you to creating Model
, Service
, Controller
, Route
for your application. By default this will be in JavaScript
and at root
of your application you can see the created Model
, Service
, Controller
, Route
.
npx @zibuthe7j11/voluptatem-sunt-voluptates make:all:schema <name_of_your_resource>
By default it is creating directories
at root level of your application. If you have src
directory on your project then you can configure the setting to @zibuthe7j11/voluptatem-sunt-voluptates
to behave like that. Also if you are developing your application with TypeScript
instead of JavaScript
then you are also welcome, we have TypeScript
supports for you and you can specifying which language you want to use by changing the configuration.
Run this to make configuration with your directory or you want to use TypeScript
instead of JavaScript
, you can specify which is your prepared things for your project,
npx @zibuthe7j11/voluptatem-sunt-voluptates config
We don't made any feature till for now, but you can do with one easiest way. You can create a Makefile
then you can make short the commands or make custom your own linked command.
You have to make a file on your root directory. To do it you can use terminal or your can create by your hand. I am showing you with terminal how you can do,
touch Makefile
After the file creation, you can copy and paste the bellow codes to your Makefile
. Or you can write your own command on this file.
Makefile
model name:
npx @zibuthe7j11/voluptatem-sunt-voluptates make:model $(name)
service:
npx @zibuthe7j11/voluptatem-sunt-voluptates make:service $(name)
controller:
npx @zibuthe7j11/voluptatem-sunt-voluptates make:controller $(name)
route:
npx @zibuthe7j11/voluptatem-sunt-voluptates make:route $(name)
all:
npx @zibuthe7j11/voluptatem-sunt-voluptates make:all $(name)
all-schema:
npx @zibuthe7j11/voluptatem-sunt-voluptates make:all:schema $(name)
Create Model
make model name=<name_of_your_model>
Create Service
make service name=<name_of_your_service>
Create Controller
make controller name=<name_of_your_controller>
Create Route
make route name=<name_of_your_route>
Create (Service
, Controller
, Route
)
make all name=<name_of_your_resource>
Create (Model
, Service
, Controller
, Route
)
make all-schema name=<name_of_your_resource>
Check our github if you thinks that, have to contribute for helping on our project, Express-Commander Github.
Started with minimal features and going to making more usable features to make
Express Application
more easier and developers and most loveable development experiences.
Versions | Features |
---|---|
v1.0.0 | Minimal Features |
v1.0.3 | Testing Improved |
v1.0.4 | Command Shorting Feature |
v1.0.5 | Keywords Update |
Coming Soon |
Upcoming Feature |