Skip to content

memochou1993/distributed-chatroom

Repository files navigation

distributed-chatroom

Development

Run a Redis database.

docker run --name redis -d -p 6379:6379 redis --requirepass password

Copy .env.example to .env.

REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=password

Run the server.

go run ./

Visit http://localhost