Play: https://skr.maxrchung.com
This is like a skribbl.io clone made over a weekend jam with React, HTML Canvas, and socket.io. It mostly only works with desktop as we don't support touch for mobile. I'm currently running this from Firebase Hosting and Cloud Run. Note: Sessions time out after 1 hour, so you'll have to refresh the page. This is an artifact of using Cloud Run. Not much I can do, short of implementing cookies properly and/or looking at GKE(?).
You need node. I'm using 18.16.0.
Installing packages.
cd frontend
npm installStarting dev server.
npm startBuilding project.
npm run buildServing website locally. You may have to forward port 3000 on your router.
npm install -g serve
serve -s buildDeploying to Firebase Hosting.
firebase deployInstalling packages.
cd backend
npm installStarting server and watching for changes.
npm startRunning the server directly. You may have to forward port 4000 on your router if you want to run this publicly.
node index.jsBuilding Docker image.
docker build . -t maxrchung/skr
docker push maxrchung/skr