football-graphql

Stars
0

Football GraphQL

You can try queries using the following platform:

Features available:

  • Get Teams
{
  getTeams(competition: "SA") {
    id,
    name,
    shortName
  }
}
  • Get Team
{
  getTeam(teamId: "98") {
    id,
    name,
    shortName
    squad {
      id,
      name
    }
  }
}
  • Get Standings
{
  getStandings(competition: "SA") {
    team {
      id,
      name
    },
    points
  }
}

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Created with Nest

This application was created with Nest. Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Keep calm and code!