A collaborative drawing canvas (with chat)
The master branch is directly deployed to heroku: https://iosocket-canvas.herokuapp.com/
- Node.JS
- Express
- socket.io
'/'
: Endpoint for connecting to the socket.io server'/'
: Also returnsindex.html
(angular app)'/api/users/list'
: List of connected users'/api/users/rename'
: Expects asocketId
and ausername
.'/api/users/updateIsTyping'
: Expects asocketId
and aisTyping
.'/api/messages/list'
: List of messages'/api/messages/submit'
: Expects asocketId
parameter and abody
parameter'/api/messages/clear'
: Expects asocketId
. Clears all messages.'/api/strokes/list'
: List of strokes'/api/strokes/submit'
: Expects asocketId
and a JSON body (req.body
), containing the stroke data'/api/strokes/clear'
: Expects asocketId
. Clears all strokes.'/api/server/info'
: Returns info about the server (eg. port)
- Angular
- Angular's Boostrap UI
- HTML 5 (canvas)
- socket.io
- toaster (notifications)
- scrollglue (scroll to bottom of divs)