Skip to content

betable/betable-node-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Betable Test App

This is a simple test app built on top of the Betable Node.js SDK, and the Betable frontend Javascript SDK. The game is a configurable slot machine.

Installation

npm install (from the app directory)

Configuration (Sandbox mode)

config/configs/base.js

  • Update game_id
  • Update symbols
  • Update paylines

config/configs/sandbox.js

  • Update api_key
  • Update api_secret

Start the server

NODE_ENV=production NODE_ECONOMY=sandbox node server.js

if you want to use unbacked bets use:

NODE_ENV=production NODE_ECONOMY=sandbox NODE_MODE=unbacked node server.js