Reorder readme sections

This commit is contained in:
Trevor Blades
2020-03-26 23:43:45 -07:00
parent b34b5e68d1
commit 2a488a175c

View File

@@ -18,12 +18,16 @@ A public GraphQL API for information about countries, continents, and languages.
2. The `country.continent` and `country.languages` are now objects and arrays of objects, respectively. 2. The `country.continent` and `country.languages` are now objects and arrays of objects, respectively.
3. Each `Country` has an array of `states` populated by their states/provinces, if any. 3. Each `Country` has an array of `states` populated by their states/provinces, if any.
- [Docs](#docs)
- [Writing queries](#writing-queries) - [Writing queries](#writing-queries)
- [Migration notes (pre-March 2020)](#migration-notes-pre-march-2020) - [Migration notes (pre-March 2020)](#migration-notes-pre-march-2020)
- [Docs](#docs)
- [Examples](#examples) - [Examples](#examples)
- [License](#license) - [License](#license)
## Docs
Check out [the playground](https://countries.trevorblades.com) to explore the schema and test out some queries.
## Writing queries ## Writing queries
```graphql ```graphql
@@ -76,10 +80,6 @@ In the first version of this API, `code` arguments were treated as `String`s. No
} }
``` ```
## Docs
Check out [the playground](https://countries.trevorblades.com) to explore the schema and test out some queries.
## Examples ## Examples
- [React](./examples/react) - [React](./examples/react)