GitHub - adevick/coup-online: The game of deception, deduction, and luck. · GitHub
Skip to content

About

The game of deception, deduction, and luck.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

289 Commits

Folders and files

Repository files navigation

Coup Online

Play Game

Overview

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

Deployments are mostly automated, with the exception of the socket server which needs to be manually restarted as of when this documentation was written.

Environment Variables

  • EXPRESS_PORT
  • REDIS_CONNECTION_STRING
  • REACT_APP_API_BASE_URL
  • REACT_APP_SOCKET_SERVER_URL
  • REACT_APP_SOCKET_SERVER_PATH

Running Locally

Install packages

pnpn i

Run Server

pnpm --prefix server dev

Run Client

pnpm --prefix client start

Run Server Tests

Server needs to be running for integration tests

pnpm --prefix server test

Run Client Tests

pnpm --prefix client test

About

The game of deception, deduction, and luck.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages