/canvas-server

Multiplayer server of Canvas App

Primary LanguageJavaScriptMIT LicenseMIT

Canvas Server

The multiplayer server of Canvas App.

This application uses Socket.io to provide real-time communication between its clients. This communication enables users to draw collaboratively on an online whiteboard.

Requeriments

Installation

$ docker-compose up

# test with more than one instance
$ docker-compose up --scale server=3

Environment variables

Name Description
APP_PORT The port of the Application
DB_HOST The host of the database
DB_PORT The port of the database

Test

Run all tests

$ yarn test

Run all with html report

$ yarn test-with-html-report

Run a specific test

$ yarn test-search "<describeString> <itString>"

License

MIT