Skip to content

ottoo/restcountries-graphql

Repository files navigation

restcountries-graphql

Build Status

Get information about countries in a graphql format. Based on https://restcountries.eu api. At the moment supports the name endpoint.

Query format:

{
  countries(name: "Fin") {
    name
    callingCodes
    ...
  }
}

Supports the same attributes as the rest endpoint.

Instructions

First

npm install

Run server:

npm run server

Run tests:

npm run test

Releases

No releases published

Packages

No packages published