- Clone and navigate to websocket server
cd websocket-go/- Install dependencies
go mod download- Setup environment variables
cp .env.example .env
# Edit .env with your database credentials- Run with Docker (Recommended)
docker-compose up --buildOR run locally:
# Ensure PostgreSQL and Redis are running
make runServer will be available at ws://localhost:1401
ws://localhost:1401/ws/chat/live- Main chat WebSocket