This is a small app API wrapper for the OpenLigaDB API.
At first you will find information about:
- Next upcoming matches (following Gameday)
- All matches of the actual season
- Win/Loss Ratio of the actual season of each team
The main idea is to wrap the original OpenLigaDB API with a graphQL schema to make the frontend queries easy and declarative. I choose the JSON format for convenience and better knowledge of the format.
On the frontend there's a React app with the Apollo client querying the graphQL backend.
- First install all dependencies
$ composer install
$ npm install
- Compile the frontend assets
$ npm run prod
- Run the php server
$ php artisan serve
make sure you have PHP 7 at your PATH
- browse localhost:8000 and enjoy!