1.0.7 • Published 3 years ago

bms-cli-mg v1.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

bms-cli

bms-cli-mg is a cli to help fastify-restapi-prisma-boilerplate user by simplify some action in the template.

Installation

Use the package manager npm to install bms-cli-mg. Cli need to be installed globally

npm install -g bms-cli-mg

Usage

Create new backend project from fastify-restapi-prisma-boilerplate, then cd to your project.

bms backend:create:project <project_name>

Add Model sets

bms backend:g:model <model_name>

Add new route method for existing model Available method: POST, GET, PUT, DELETE

bms backend:add:route <model_name> <method> <route_name>

Add socket message handler

bms backend:g:sochandler <socket_message_name>

Synchronies database (for more detail go to Prisma)

bms backend:db:sync

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

1.0.7

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago