Description: Pokester lets people play no-limit Texas hold'em for free with their friends using play money--on a computer, tablet, or phone.
Tech Stack: Pokester is a web application written primarily in Typescript. It uses a React front-end and an Express back-end. It relies on MongoDB for data storage.
Project Status: Beta
Homepage: https://www.playpokester.com
To install all dependencies, run the following command from the root directory of the repository
yarn
The client and server each require the presence of the following configurable environment variables
Note the following environment variables can be set by creating a client/.env
file containing one KEY=VALUE
pair on each line.
REACT_APP_BASE_URL
: The domain on which pokester will be hosted (e.g. local deployments might speicfyhttp://localhost:3000
as the value); used for embedded full links in the client
Note the following environment variables can be set by creating a server/.env
file containing one KEY=VALUE
pair on each line.
DISABLE_SSL
: optional boolean environment variable that disables use of SSL; reocommened that it be set toTRUE
for local testing, not set in environments exposed to the internetMONGOOSE_CONNECT
: connection string for mongoDB (e.g. local deployments might specifymongodb://localhost:27017/pokester
as the value)OPEN_ID_CONNECT_SECRET
: client secret for express-openid-connectOPEN_ID_CONNECT_BASE_URL
: base URL for express-openid-connectOPEN_ID_CONNECT_CLIENT_ID
: client id for express-open-id-connectOPEN_ID_CONNECT_ISSUER_BASE_URL
: issuer base URL for express-open-id-connect
The following instructions are useful for testing, running, and building the full applicaton. To test, run, and build individual workspaces, navigate to the respective workspace directories or use the appropriate yarn workspace
commmand.
Run the following command from the root directory of the repository
yarn workspaces foreach -t run test
Note: Development mode reloads client and server processes when edits are made to /client/src/**
and /server/src/**
, respectively.
Run the following command from the root directory of the repository
yarn workspaces foreach -p run start
Run the following command from the root directory of the repository
yarn workspaces foreach -t run build
After building, run the following command from the root directory of the repository
yarn workspace @pokester/server run serve
Feel free to write contact@playpokester.com.