chatAppWithGRPC

module
v0.0.0-...-a4040c8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2022 License: MIT

README

GRPC Streaming Chat GO server with Swift client app

Feature Try out

  • SwiftUI
  • Combine
  • GRPC-Swift
  • Golang GRPC
  • MongoDB
  • Evans CLI

Setup

  • follow the guide of installing GRPC Go at Reference section
  • Copy ChatService Dir to your Go directory
  • to generate proto of swift client go to the directory of protos
protoc chat_proto.proto --swift_out=. --swiftgrpc_out=Client=true,Server=false:.
  • to generate proto of Go Server go to the root directory of project
protoc --proto_path=protos/ --go_out=plugins=grpc:protos/genbuf chat_proto.proto

or run the script

./generate.sh

you may need to change IP Address on client app to your localhost.

Reference

Find improvement plan on Github project section, or you could do random improvement (BEST PRACTICE) Pull request. (I Will shout out your name into the project for collaborating)
Notes: Open For Everybody, Feel Free to do PR, Let's Learn together!

Videos Demo

Watch the video

Directories

Path Synopsis
ChatService

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL