varalab-nestjs
v1.1.8
Published
CLI para generar servidores NestJS a partir de archivos IDL
Readme
CLI IDL to NestJS
CLI that create a nestjs server from a given .idl file to interact with Vara Network.
Note: Your contract needs the
Keyring servicefrom Vara Lab to build your nestjs server.
How to use
Basic usage
Basic cli command to create the nestjs server, he server will be in the generated-server directory.
npx varalab-nestjs ./example.idlUse with specific directory
cli command to specify the directory where the nestjs server will be located, in both cases my-server:
npx varalab-nestjs ./example.idl --output my-server
npx varalab-nestjs ./example.idl -o my-serverInstalation
You can install it to run locally the cli with the next command:
npm i -g varalab-nestjs