showKs Canvas is a simple collaborative whiteboard using socket.io. This is the participant's web application of Japan Container Days showKs.
-
Create your own branch.
-
Edit src/data/author.json
-
Send a pull request to be merged into staging branch
$ docker build -t <your username>/showks-canvas:<your tag> .
$ docker run -p <desired port>:8080 -d <your username>/showks-canvas:<your tag>
$ cd src
$ npm install
$ npm start
Open http://<your host>:8080 with a web browser.
Endpoint | Description |
---|---|
/ | The whiteboard Web UI |
/canvas | Latest canvas image (PNG) |
/thumbnail | Canvas thumbnail (PNG) |
/author | Author information in (JSON) |
/version | Version information of Canvas |
{
"userName": "Unique user name which identifies an instance",
"gitHubId": "GitHub account of the author",
"twitterId": "Twitter account of the author",
"comment": "Comment shown in the listing"
}
Namespace | Description |
---|---|
/notification | Notifies the client of 'refresh' message with value 1 when the drawing is updated and there was no message sent within last 5 seconds. |
This application is forked from Socket.IO Collaborative Whiteboard example.