Skip to content

acs/drawing-app-go

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Version Built with GoLang

Drawing-App

This project was made to refresh my memory on websockets and on centralised hubs.

demo giphy

Run

Must have go installed.

Step 1: Fork the repo.

Step 2: Run the server.

Mac/Linux

go run *.go

Windows

go run .

Step 3: Open as many clients.

Open the index.html file in your browser as done in the demo.

Note: Each client gets assigned a random and unique color.

Run (Docker)

Must have docker installed.

Step 1: Clone the repo

Step 2: Build the docker image from source:

docker build -t drawing-app ./path/to/dockerfile

Step 3: Run a docker container:

docker run -p 8080:8080 drawing-app

Ctrl-c to quit

Step 4: Open as many clients.

Open the index.html file in your browser as done in the demo.

Note: Each client gets assigned a random and unique color.

About

Simple real-time colaborative drawing app. 🎨

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 71.7%
  • JavaScript 22.7%
  • HTML 3.0%
  • Dockerfile 1.6%
  • CSS 1.0%