- SwiftUI
- Combine
- GRPC-Swift
- Golang GRPC
- MongoDB
- Evans CLI
- follow the guide of installing GRPC Go at Reference section
- Copy
ChatService
Dir to yourGo
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.