A real-time multiplayer drawing and guessing game inspired by skribbl.io.
-
Clone the repository:
git clone https://github.com/souhhmm/pictionary.git cd pictionary
-
Install backend dependencies:
cd backend npm install
-
Install frontend dependencies:
cd frontend npm install
-
Create
.env
file:cd frontend echo "VITE_SERVER_URL=http://localhost:5000" > .env
-
Start the backend server:
cd backend npm run dev
The server will run on
http://localhost:5000
by default. -
In a new terminal, start the frontend:
cd frontend npm run dev
The frontend will run on
http://localhost:3000
by default. You can optionally use the--host
flag (npm run dev -- --host
) to allow others on the same network to connect.