broology / poker-moons

Free online poker with friends without the hassle.
4 stars 3 forks source link
poker

PokerMoons

poker-moons

Poker Moons

This project was generated using Nx.

Description

PokerMoons makes it easy to connect with friends and family for a fun game of free online poker.

The goal of this project is to test our ability to work as a team and get a project finished. Taking the time to teach each other new frameworks, techniques, and coding patterns that some of us haven't used before.

Quick Start

Pre-requisites

Setting up repo

After installing all pre-requisites

# Install all project dependencies
yarn

Testing changes

# After making changes to a library you may test the library be running:
yarn nx test <LIBRARY>

Serving apps locally

1. Setup .env file.

# Local log level (options: info, warn, error, debug)
LOG_LEVEL=info

# Local redis configuration
REDIS_HOST=localhost
REDIS_PORT=6379

2. Setup docker compose

You must have redis running before you can serve the apps locally.

# If docker is installed then this will provision a local redis instance under "localhost:6379"
docker compose up

3. Serving apps

In a terminal run the following to serve the frontend (Angular app).

yarn nx serve frontend

In a separate terminal run the following to serve the backend (NestJS API server).

yarn nx serve backend

Open localhost:4200 in a browser.

Further readings

To understand more about how the repo is structure and tools that can be utilized in the repo, see resources below.