Skip to content

Poker Pocket multi game typescript websocket backend. Replaces old js backend.

License

Notifications You must be signed in to change notification settings

norkator/poker-pocket-ts-backend

Repository files navigation

⚠️ 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

About

Poker Pocket multi game typescript websocket backend. Replaces old js backend.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages