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 thi
MIT License
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 @firanorg/inventore-hic-cumque
yarn add @firanorg/inventore-hic-cumque
After Installation done you can see there will be a directory on node_modules folder is '@firanorg/inventore-hic-cumque', Now you can easily use the product.
@firanorg/inventore-hic-cumque
Model
Or Schema
creation,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 @firanorg/inventore-hic-cumque make:model <name_of_your_model>
Service
creation,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 @firanorg/inventore-hic-cumque make:service <name_of_your_service>
Controller
creation,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 @firanorg/inventore-hic-cumque make:controller <name_of_your_controller>
Route
creation,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 @firanorg/inventore-hic-cumque make:route <name_of_your_route>
Service
, Controller
, 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 @firanorg/inventore-hic-cumque make:all <name_of_your_resource>
Model
, Service
, Controller
, Route
),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 @firanorg/inventore-hic-cumque 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 @firanorg/inventore-hic-cumque
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 @firanorg/inventore-hic-cumque config
src
or not for perfect project structure,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.
Makefile
,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 @firanorg/inventore-hic-cumque make:model $(name)
service:
npx @firanorg/inventore-hic-cumque make:service $(name)
controller:
npx @firanorg/inventore-hic-cumque make:controller $(name)
route:
npx @firanorg/inventore-hic-cumque make:route $(name)
all:
npx @firanorg/inventore-hic-cumque make:all $(name)
all-schema:
npx @firanorg/inventore-hic-cumque 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 |