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
- Host: GitHub
- URL: https://github.com/schadokar/go-chat-app
- Owner: schadokar
- Created: 2022-09-10T05:31:32.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-12-09T15:28:51.000Z (over 3 years ago)
- Last Synced: 2025-03-23T19:44:34.037Z (about 1 year ago)
- Topics: chakra-ui, chat-application, golang, reactjs, redis, websocket
- Language: JavaScript
- Homepage:
- Size: 2.67 MB
- Stars: 58
- Watchers: 2
- Forks: 20
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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).

## 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`.
.gif)