@lomray/microservice-nodejs-lib
TypeScript icon, indicating that this package has built-in type declarations

2.21.2 • Public • Published

Microservice NodeJS library

Package for create microservice architecture based on Ijson job server.
All requests are made through JSON-RPC 2.0

npm GitHub

Quality Gate Status Reliability Rating Security Rating Vulnerabilities Lines of Code Coverage

This package includes instruments for creating:

  • Gateways
  • Microservices

Installation:

npm i --save @lomray/microservice-nodejs-lib

Example

Go to example folder and check out the example of creating microservice and gateway. See example/scratch.http for understanding how to send requests.

  1. install dependencies: npm ci
  2. run ijson: docker-compose up
  3. run 2 microservices - gateway & demo microservice: node --require ts-node/register example/index.ts

How it works

Diagram

Package Sidebar

Install

npm i @lomray/microservice-nodejs-lib

Weekly Downloads

22

Version

2.21.2

License

Apache-2.0

Unpacked Size

108 kB

Total Files

7

Last publish

Collaborators

  • matthew_patell
  • danial031193