Skip to content

juliendangers/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