Skip to content

Node.js TypeScript gRPC Proof of Concept

License

Notifications You must be signed in to change notification settings

haricnugraha/node-js-typescript-grpc-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js TypeScript gRPC Proof of Concept

This is a sample implementation of gRPC running on Node.js and written in TypeScript.

Table of Contents

Getting Started

Prerequisites

Run the Server

  1. Change to the server directory. Run cd ./server.
  2. Install the dependencies. Run npm ci.
  3. Compile the proto file. Run npm run proto:generate.
  4. Run the server. Run npm run dev.

You can send a request to the server using an HTTP client GUI, such as Postman.

Run the Client

  1. Change to the client directory. Run cd ./client.
  2. Install the dependencies. Run npm ci.
  3. Compile the proto file. Run npm run proto:generate
  4. Run the client. Run npm run dev.

The client application will print Monika ID: 1.

About

Node.js TypeScript gRPC Proof of Concept

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published