- Clone the project to your machine -
git clone https://github.com/Jordanirabor/multiplayer-game
- Create
backend/.env
andfrontend/.env
files and put in your environment variables. - Navigate into the project folder -
cd multiplayer-game/
- Navigate into the backend directory -
cd backend/
- Install backend dependencies -
npm install
- Start the Node server -
node src/
- Open a new terminal and navigate into the frontend directory from the project's root -
cd frontend/
- Install frontend dependencies -
npm install
- Start the React development server -
npm start
- Visit http://localhost:3000 on two different browser windows to see the application to play the game!