The frontend is a React
web application. The app talks to the backend Express
server via the WebSockets
protocol, falling back to the HTTPS
protocol if the socket connection fails. The game state is stored in a cloud Redis
database.
Deployments are mostly automated, with the exception of the socket server which needs to be manually restarted as of when this documentation was written.
- EXPRESS_PORT
- REDIS_CONNECTION_STRING
- REACT_APP_API_BASE_URL
- REACT_APP_SOCKET_SERVER_URL
- REACT_APP_SOCKET_SERVER_PATH
pnpn i
pnpm --prefix server dev
pnpm --prefix client start
Server needs to be running for integration tests
pnpm --prefix server test
pnpm --prefix client test