Skip to content

hi2rashid/chat-grpc-poc

 
 

Repository files navigation

Scala gRPC

POC of gRPC with Scala & NodeJS languages

Simple chat service using bi-directional streaming

Requirements

Usage

Generate code from protobuf files

Run the following commands:

sbt
project domain
compile

(Running the client or the server will generate sources too)

Run Server

Run the following commands:

sbt
project chat-grpc-server
run

Run Scala Client

Ensure server is running. Then run the following commands:

sbt
project chat-grpc-client
run

you can run multiple Java clients simultaneously

Run Electron Client

See dedicated README

Reason

Have a closer look at gRPC:

  • Validate ease of use
  • Validate cross languages code generation
  • Implement bidirectional streaming

TODO

  • add support for image message type
  • add support for WhatsApp message types

About

Simple Chat with gRPC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 49.3%
  • Scala 21.0%
  • CSS 10.0%
  • Protocol Buffer 9.9%
  • HTML 9.8%