An open API service indexing awesome lists of open source software.

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

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
[![Watch the video](https://i9.ytimg.com/vi/JjqKwv6204c/mq2.jpg?sqp=CKH7uvAF&rs=AOn4CLAnusaxsyiLa5MzAyHAUxTfZ8KyNw)](https://youtu.be/JjqKwv6204c)