Skip to content

yasharzolmajdi/english-premier-league

Repository files navigation

English Premier League

Heroku

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.

Table of contents

Installation

  1. $ git clone https://github.com/yasharzolmajdi/english-premier-league.git
  2. $ cd english-premier-league
  3. $ yarn install

Usage

APIFOOTBALL_KEY environment variable needs to be set, you can get the API key from APIfootball.

Production

  1. $ yarn build
  2. $ yarn start

Development

  1. $ yarn dev

NOTE: After update of the GraphQL queries you will have to run $ yarn apollo to update all generated typescript interfaces.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published