/go-chat-app

Go chat application. Implemented in multiple ways, using golang channel and redis pub/sub model

Primary LanguageJavaScript

Kayee... Chat Application

A detailed article is published on Medium.

Setup

Step 1

Clone the repository

Step 2

Run git mod tidy to install all the Golang dependencies.

Step 3

Go to clients and to install frontend dependencies.

npm install

Run the Application

Terminal 1

Start HTTP server

go run main.go --server=http

Terminal 2

Start WebSocket server

go run main.go --server=websocket

Terminal 3

Go to client and run

npm start

Application is live at localhost:3000.