Skip to content

Latest commit

 

History

History

WebsocketsChat

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Websockets Chat

A simple Websockets realtime chat application.

Requirements

  • Local golang installation

Getting started

Without Docker

Installing the dependencies:

go mod download

Running the application:

go run main.go

With Docker

Building the image:

docker build -t websocketschat .

Running the application:

docker run -p 5000:5000 websocketschat

After starting the application the server should be started on port 5000 and you can start sending and receiving chat messages.