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.
Current staging: https://pokerpocket-staging.nitramite.com
Current production: todo, because current runs old js version
Get following front end client:
- React Web UI: https://pokerpocket-staging.nitramite.com
- React Web UI source code: /~https://github.com/norkator/poker-pocket-react-client
- Download handRanks.dat file
from: /~https://github.com/christophschmalhofer/poker/blob/master/XPokerEval/XPokerEval.TwoPlusTwo/HandRanks.dat
and place it under/src
folder.
- Create database named
poker-pocket-ts
or define your own db name by setting env varDB_NAME
- Add new schema into database called
poker
- Define and fill rest of env vars
DB_HOST=<value>
DB_USER=<value>
DB_PASS=<value>
- Define env var
PW_SECRET=<value>
and get value usingnpm run secret
- Run
npm install
- Run
npm run start:dev
on development environment (uses nodemon) - Backend is now running.
- Set up frontend /~https://github.com/norkator/poker-pocket-react-client
.gitignore
file is set to ignore HandRanks.dat
which is big file.
- Martin Kankaanranta - Initial work - norkator
None for ts version.
For old js version which this repository is based:
- Commits
- Created React version of Web UI
MIT