A real-time collaboration project to draw with your friends.
(click on the thumbnail below)
Unfortunately, Vercel's free plan does not support WebSocket functionality, so I was unable to deploy the backend to production. To use the collaborative features of the app, you'll need to set up the application locally. The setup steps are provided below, and I've also included a demonstration video of the local setup process above. Thank you!
- Run
docker-compose build
in the root directory of the project - Once build is successful, run
docker-compose up -d
- Now your frontend would be running on
localhost:5173
and backend onlocalhost:8000
- Enjoy drawing !
- cd into the api folder
cd api
- install dependencies
npm install
- then cd into the client
cd client
- install dependencies
npm install
In order to start drawing, execute these commands.
first start the server
cd api
npm run server
then start the client
cd client
npm run dev
- go to
http://localhost:5173/
- draw and have fun!
Crafted by Ajeet