Remote Procedure Calls for Pip.Services in Node.js
This module is a part of the Pip.Services polyglot microservices toolkit.
The rpc module provides the synchronous communication using local calls or the HTTP(S) protocol. It contains both server and client side implementations.
The module contains the following packages:
- Auth - authentication and authorization components
- Build - HTTP service factory
- Clients - mechanisms for retrieving connection settings from the microservice’s configuration and providing clients and services with these settings
- Connect - helper module to retrieve connections for HTTP-based services and clients
- Services - basic implementation of services for connecting via the HTTP/REST protocol and using the Commandable pattern over HTTP
- Your first microservice in Node.js
- Data Microservice. Step 5
- Microservice Facade
- Client Library. Step 2
- Client Library. Step 3
- API Reference
- Change Log
- Get Help
- Contribute
Use
Install the NPM package as
npm install pip-services3-rpc-node --save
Develop
For development you shall install the following prerequisites:
- Node.js 8+
- Visual Studio Code or another IDE of your choice
- Docker
- Typescript
Install dependencies:
npm install
Compile the code:
tsc
Run automated tests:
npm test
Generate API documentation:
./docgen.ps1
Before committing changes run dockerized build and test as:
./build.ps1
./test.ps1
./clear.ps1
Contacts
The Node.js version of Pip.Services is created and maintained by:
- Volodymyr Tkachenko
- Sergey Seroukhov
- Mark Zontak
The documentation is written by:
- Mark Makarychev