Skip to content

Latest commit

 

History

History
76 lines (47 loc) · 2.25 KB

README.md

File metadata and controls

76 lines (47 loc) · 2.25 KB

⚠️ WORK IN PROGRESS ⚠️

poker_pocket_promo

Poker Pocket Typescript Backend

Nitramite Poker Pocket back end server was developed to run poker games. It's powering Nitramite Poker Pocket game. This back end is pretty lightweight and can run thousands of rooms easily.

This ts version replaces old js version /~https://github.com/norkator/poker-pocket-backend.

Testing it out

Current staging: https://pokerpocket-staging.nitramite.com
Current production: todo, because current runs old js version

Get following front end client:

Prerequisites

Basic setup

  1. Create database named poker-pocket-ts or define your own db name by setting env var DB_NAME
  2. Add new schema into database called poker
  3. Define and fill rest of env vars
DB_HOST=<value>
DB_USER=<value>
DB_PASS=<value>
  1. Define env var PW_SECRET=<value> and get value using npm run secret
  2. Run npm install
  3. Run npm run start:dev on development environment (uses nodemon)
  4. Backend is now running.
  5. Set up frontend /~https://github.com/norkator/poker-pocket-react-client

AI LLM Addon

Note

.gitignore file is set to ignore HandRanks.dat which is big file.

Authors

  • Martin Kankaanranta - Initial work - norkator

Contributors

None for ts version.

For old js version which this repository is based:

License

MIT