1.0.0 • Published 1 year ago

highlight-games v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Highlight games

Contacts

44 (0)20 3021 0677 support@highlight-games.bet

Links

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