1.0.0 • Published 1 year ago
highlight-games v1.0.0
Highlight games
Contacts
44 (0)20 3021 0677
support@highlight-games.bet
Links
- http://schedulerunnerapi.highlight-games.bet:9889/swagger
- https://drive.google.com/drive/u/0/folders/1Alhq7E0ID0pp0OP-ZVkpxt9VXnUZHX2w
How to
recstable highlight-games-consumer
This service will pull keep pulling events and notifications for them
recstable higlhight-games
This is a web service for bet-placing, bet-history, etc
SOON recstable highlight-games-resolver
This service will be resulting bets and paying out wins
Endpoints
/events/current
get events that are starting soon or just started
/manual/*
for manually calling provider's API for testing purposes
/ticket/me
for FO user to get his/her tickets history
/ticket/me/:displayId
for FO user to get ticket details
Testing
To run tests locally, you need to create a .env.test
file in your root folder
and pass in your database connection params like:
KNEX_CONNECTION_HOST=localhost
KNEX_CONNECTION_PORT=5432
KNEX_CONNECTION_USER=postgres
KNEX_CONNECTION_PASSWORD=postgres
1.0.0
1 year ago