Skip to content

Web application for playing free, no-limit poker online using play money

License

Notifications You must be signed in to change notification settings

seanstern/pokester

Repository files navigation

🃏 Pokester

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

Dependencies

Installation

To install all dependencies, run the following command from the root directory of the repository

yarn

Configuration

The client and server each require the presence of the following configurable environment variables

Client

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 speicfy http://localhost:3000 as the value); used for embedded full links in the client

Server

Note the following environment variables can be set by creating a server/.env file containing one KEY=VALUE pair on each line.

Usage

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.

Test

Run the following command from the root directory of the repository

yarn workspaces foreach -t run test

Run in Development Mode

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

Build

Run the following command from the root directory of the repository

yarn workspaces foreach -t run build

Run Optimized Production Build

After building, run the following command from the root directory of the repository

yarn workspace @pokester/server run serve

Getting Help

Feel free to write contact@playpokester.com.

License

LICENSE.md