Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

football-betting/daily-winner

Repository files navigation

Warning

Version 2 (Microservice edition) for football-betting | no longer current, we have developed something new

Daily-Winner


Setup project:

  • please make sure to have amqp-1.11.0beta or higher installed locally
  • composer install
  • docker-compose up -d
  • bash init.sh

Before pushing:

  • Execute following commands without getting any errors:
    • php vendor/bin/phpunit
    • vendor/bin/infection --only-covered --min-msi=100
    • vendor/bin/psalm

Execute Command:

  • to get all matches from the European Championship
    • bin/console football:matches
  • to get only live matches from the European Championship
    • bin/console football:matches --live

RabbitMq

  • Start container:
    • docker-compose start
  • Stop container:
    • docker-compose stop
  • Admin Panel:
  • Messenges are published to rabbitMq as Json:
{"event":"match.api","data":{"matchId":"2021-06-11:1900:TR-IT","team1":"TR","team2":"IT","matchDatetime":"2021-06-11 19:00"}}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published