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
[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
- 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
- Or open https://pokerpocket.nitramite.com/ and use connection switch set as
dev
to open connection to localhost web socket.
- Or open https://pokerpocket.nitramite.com/ and use connection switch set as
.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