/poker_calculator

Primary LanguageRustBSD 2-Clause "Simplified" LicenseBSD-2-Clause

Poker Calculator CI

Running locally

One Time Setup

cargo install cargo-make
cargo install wasm-pack --features curl/static-curl

Backend

To start the backend, use the following commands. The watch command restarts the server when any backend file changes, which runs at http://localhost:8000.

cd backend
cargo make watch

Frontend

To start the frontend, use the following commands. This starts a static file server at http://localhost:3000, and recompiles the frontend on change.

cd frontend
cargo make watch

Testing and Linting

Tests and linting also use cargo-make.

cargo make test     # Test
cargo make clippy   # Lint