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.
3. Each `Country` has an array of `states` populated by their states/provinces, if any.
- [Docs](#docs)
- [Writing queries](#writing-queries)
- [Migration notes (pre-March 2020)](#migration-notes-pre-march-2020)
- [Docs](#docs)
- [Examples](#examples)
- [License](#license)
## Docs
Check out [the playground](https://countries.trevorblades.com) to explore the schema and test out some queries.
## Writing queries
```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
- [React](./examples/react)