This is a copy of the original Drawback app, which is an online, collaborative whiteboard written in Angular.
git clone https://github.com/HongKTruong/drawing-jamboard.gitnpm install- Run
npm start - Open a browser on localhost:3000
- Draw and have fun!
To set up the server on GCP so that others can access your URL:
- Go to your GCP console and make sure you are on the
Drawbackproject dashboard - Go to the Compute Engine dashboard
- Start the instance and SSH into it
git clone https://github.com/HongKTruong/drawing-jamboard.gitorgit pullnpm installif you haven't already- Change the
urlvariable indraw.service.tsto the external IP of the instance followed by thedrawingport specified in the firewall ruleshttp://externalIP:port - Make the server listen to the same port in
draw.tsby modifiyingserver.listen(port) - Set the port in
server.tsto thedefault-allow-rdpport specified in the firewall rules ng buildnpm start- Visit the url
http://externalIP:portand start drawing!
- Colors - Can draw in black, red, orange, yellow, green, blue, and purple
- Clear - Removes all marks from the canvas
- Undo - Removes the last stroke done on the canvas
- Redo - Redoes the last undone stroke
- Eraser - Will draw white on the canvas
- Pens - Has different size pen widths
W3for its great front-end tutorialsAwwAppfor inspiration