A real time chat built using Golang. This application uses Golang's Websocket and concurrency to broadcast a message sent by User to all clients. Also redis is used as a Cache/Database to store previous messages and send them to users.
- Golang
- Redis
- JavaScript
- WebSockets
You must have Redis and Golang installed on your machine
git clone https://github.com/tushar912/Real-Time-Chat.git
cd server
go mod download
go build .
Then to Run
go run main.go
Visit localhost:8000
to access the app.
You must have docker and docker-compose installed on your machine
docker-compose up --build