create-node-lrpc
v0.2.2
Published
LRPC is a framework for building distributed microservices with RPC-style communication.
Readme
NODE_LRPC - Lightweight Remote Procedure Call
LRPC is a framework for building distributed microservices with RPC-style communication.
Quick Start
To create a new microservice LRPC application, run:
npx create-node-lrpc createThis will create a new directory with the following structure:
Folder Structure
/
│── lrpc.config.js
│── src
│ ├── controllers
│ │ ├── sampleController
│ │ │ ├── endpoints
│ │ │ │ ├── endpointCreate.ts
│ │ │ │ ├── endpointUpdate.ts
│ │ │ │ ├── endpointDelete.ts
│ │ │ ├── repository.ts
│ ├── lrpc
│ │ ├── clientFE
│ │ │ ├── api.ts
│ │ │ ├── index.ts
│ │ ├── serviceClient
│ │ │ ├── api.ts
│ │ │ ├── index.ts
│ │ │ ├── utils.ts
│ │ ├── registery.ts
│ ├── index.ts
│ ├── tests
│ │ ├── index.test.ts
│ │ ├── sampleController.ts
│ ├── utils
│ │ ├── index.ts
│ ├── .dockerignore
│ ├── .env
│ ├── Dockerfile
│ ├── jest.config.js
│ ├── lrpc.config.js
│ ├── package.json
│ └── tsconfig.json