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

https://github.com/schadokar/go-chat-app

Go chat application. Implemented in multiple ways, using golang channel and redis pub/sub model
https://github.com/schadokar/go-chat-app

chakra-ui chat-application golang reactjs redis websocket

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# Kayee... Chat Application

A detailed article is published on [Medium](https://levelup.gitconnected.com/create-a-chat-application-in-golang-with-redis-and-reactjs-c75611717f84).

![](kayee.png)

## 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.

```node
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`.

![](https://github.com/schadokar/go-chat-app/blob/main/Videos%20(1).gif)