@adempiere/grpc-core-client v1.2.6
ADempiere Core Client for gRPC
ADempiere Core Client write in Javascript for gRPC service, use it for connect with ADempiere-gRPC-Server.
Requirements
Using it
# installing via NPM
npm install @adempiere/grpc-core-client --save# installing via Yarn
yarn add @adempiere/grpc-core-clientRecreate proto stub class (only for contribute to project)
For recreate stub class you must have follow:
Note: You can also install protoc and protoc-gen-grpc-web by going to the repository directory and run the command:
sh install-protoc.shWhen installation is complete, check the version with
protoc --versionAfter installed it just go to source code folder an run it:
Run Base Data Type gRPC
protoc proto/base_data_type.proto \
--js_out=import_style=commonjs:src/grpc \
--grpc-web_out=import_style=commonjs,mode=grpcwebtext:src/grpcRun Core Functionality gRPC
protoc proto/core_functionality.proto \
--js_out=import_style=commonjs:src/grpc \
--grpc-web_out=import_style=commonjs,mode=grpcwebtext:src/grpcOr run:
sh generate-stub.shThe result is generated on: src/grpc folder
base_data_type_pb.jscore_functionality_grpc_web_pb.jscore_functionality_pb.js
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago