@fasterjs/core
v1.1.7
Published
FastifyJs framework written in Typescript.
Downloads
4
Readme
Create Role
npm run command --roles="admin;user"
Create Permission and attach to role
npm run command --role="user" --permission="get;/products/:id" npm run command --role="user" --permission="post;/product-absolute" npm run command --role="user" --permission="post;/products/product-validate-request" npm run command --role="user" --permission="get;/users/info"
Migrator:
Generate role and permission table of @fasterjs:
- npm run migrate --command="makeRAP" Generate:
- npm run migrate --command=generate --name=name_migrate Up:
- npm run migrate --command=up Down:
- npm run migrate --command=down --step=1