Create a shared pixel canvas.
- Create firestore.json with appropriate credentials (available from console). Run
npm install
inside pixelshare. - Confirm can read values from database by running db.js and adding code for reading from
pixels
db. - Try draw functionality.
- Inside index.js, write a
loadPixels()
function that reads files from db. Create web socket connection with canvas client and emit event to load data. - Create a web socket connection and emit event for saving drawn pixels.
- Subscribe to changes to firestore and broadcast to canvas.