Go Chat CLI-based Application
Implemented chat application using Gorilla Websocket.
A CLI-based chat application with Go
- Go
- github.com/gorilla/websocket
- golang.org/x/crypto
Ensure that you're in the
mainbranch
Clone this repository using the following command line (git bash)
$ git clone https://github.com/sivaren/go-cli-chat-app.git
-
Open
cmdon this folder and download dependenciesgo mod tidy go mod download -
Run websocket
servergo run ./server -
Open new terminal to run a
clientgo run ./client
-
Open
cmdon this folder andbuildDocker imagedocker build -t go-cli-chat-app . -
Run websocket
serverdocker run -p 8080:8080 go-cli-chat-app -
Open new terminal to run a
clientgo run ./client
Project is: DONE (not fully implemented)
| Use Case | Status |
|---|---|
| Broadcast Message | Implemented |
| Direct Message (DM) | Implemented |
| User Autehntication | Implemented |
| User Join and Leave Chat Room | Implemented |
| Users Create Chat Rooms | Not Implemented |
| Store Messages | Implemented |
| Error Handling | Implemented |
| Docker | Implemented |