This project is intended to show the usage of next js with SSR and graphql. The web app contains 2 pages, one allows to seach and filter for players while the other shows the teams in premier league based on live data from APIfootball.
$ git clone https://github.com/yasharzolmajdi/english-premier-league.git
$ cd english-premier-league
$ yarn install
APIFOOTBALL_KEY
environment variable needs to be set, you can get the API key from APIfootball.
$ yarn build
$ yarn start
$ yarn dev
NOTE: After update of the GraphQL queries you will have to run $ yarn apollo
to update all generated typescript interfaces.