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

[comment]: <> (Here's list of different front end clients. You may want to take a look at them to [comment]: <> (see what it's all about. [comment]: <> ( [comment]: <> (* React Web UI: https://pokerpocket.nitramite.com/ [comment]: <> ( * React Web UI source code: https://github.com/norkator/poker-pocket-react-client [comment]: <> ( * Based on old UI https://github.com/norkator/poker-pocket-web-client [comment]: <> ( * React version is originally developed by linus2code

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

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