Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 618 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 618 Bytes

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