Gaming (gambling, lol) platform, which is an open space with games
. The core is a multiplayer architecture that allows you to easily add new games
to the catalog. One profile for all games
, the simple creation
of rooms
and the addition of new games
.
Trello: https://trello.com/b/zkQ7Re9N/cashier
First what you mast do - install Redis
database and run on port 6379.
Second what you mast do - install MongoDB
database or create in cloud (for example - mlab.com
).
Then configurate project in configs (in folders src/client
and src/server
).
After all done
- go to the project folder and run command:
npm run i // Install required packages.
MODE = development || production
BACKEND_URL = http://localhost
FRONTEND_URL = http://localhost
BACKEND_PORT = 1337
FRONTEND_PORT = 8000
MONGO_USER = login
MONGO_PASSWORD = paswword
REDIS_USER = user
REDIS_PASSWORD = password
REDIS_PORT = 6379
REDIS_HOST = 127.0.0.1
JWT_SECRET = jokeorjoker
npm run devserver //For running development serve
npm run back //For running new backend server
npm run server //For running old backend server (only sockets (deprecated, only for history))