Skip to content

ratkosolar/React-Apollo-Mutiplayer-Chess-Game

Repository files navigation

Online Multiplayer Chess Game - React/Apollo

Online multiplayer chess game built with React and Apollo. You can try it out here. Feel free to checkout the server side source code too.

Installation

1. Install node_modules

npm install

2. Setup .env file

In order to run server, you have to setup a mongodb and provide a login url through .env Create .env file in root directory:

touch .env

Add the following environemnt variables to .env:

REACT_APP_GRAPHQL_SERVER=[url to apollo graphql server]
REACT_APP_GRAPHQL_SERVER_WS=[url to apollo graphql web sockets]

3. Run the server

npm start