https://github.com/cralfa/comchat
Simple CLI chat app using gRPC
https://github.com/cralfa/comchat
golang grpc protobuf typescript
Last synced: about 2 months ago
JSON representation
Simple CLI chat app using gRPC
- Host: GitHub
- URL: https://github.com/cralfa/comchat
- Owner: CRaLFa
- Created: 2022-11-07T11:21:02.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-08-28T14:41:42.000Z (almost 2 years ago)
- Last Synced: 2025-01-13T04:29:31.538Z (over 1 year ago)
- Topics: golang, grpc, protobuf, typescript
- Language: Go
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# comchat
Simple CLI chat app using gRPC
### Servers
* Go
### Clients
* Go
* Node.js
### Prerequisites
* Go
* Node.js (>= 17.0.0)
### Usage
1. Start server
```
$ git clone https://github.com/CRaLFa/comchat.git
$ cd comchat/go
$ go run server/server.go
```
1. Start client
* Go
```
$ cd comchat/go
$ go run client/client.go
Enter your name:
```
* Node.js
```
$ cd comchat/node
$ npm install
$ npm start
Enter your name:
```
1. Stop client
Type `exit` and press [Enter].
```
Enter your name: hoge
2022/11/06 17:44:10 [SYSTEM] : hoge has entered.
︙
exit
```