https://github.com/nsnull0/chatappwithgrpc
GRPC Go Server with ios client app
https://github.com/nsnull0/chatappwithgrpc
combine-framework golang grpc-go grpc-swift swift swiftui
Last synced: about 1 year ago
JSON representation
GRPC Go Server with ios client app
- Host: GitHub
- URL: https://github.com/nsnull0/chatappwithgrpc
- Owner: nsnull0
- License: mit
- Created: 2020-01-02T19:59:50.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-07-22T17:43:07.000Z (almost 4 years ago)
- Last Synced: 2025-04-13T07:12:59.799Z (about 1 year ago)
- Topics: combine-framework, golang, grpc-go, grpc-swift, swift, swiftui
- Language: Swift
- Size: 5.23 MB
- Stars: 21
- Watchers: 2
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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
- https://grpc.io/
- https://github.com/grpc/grpc-swift
- https://github.com/nickffox/KeyboardObserving
- https://talk.objc.io/
- https://github.com/ktr0731/evans
### 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
[](https://youtu.be/JjqKwv6204c)