An open API service indexing awesome lists of open source software.

https://github.com/pooltogether/graphql-query-template

Template repository to kickstart a project to query GraphQL endpoints
https://github.com/pooltogether/graphql-query-template

Last synced: 21 days ago
JSON representation

Template repository to kickstart a project to query GraphQL endpoints

Awesome Lists containing this project

README

          

# graphql-query-template

Template repository to kickstart a project to query GraphQL endpoints.

## Development

This template uses [graphql-request](https://www.npmjs.com/package/graphql-request) to query GraphQL endpoints.

### GraphQL Request

An example query is available in `request.ts`. Run it with:

```
yarn start
```

### Code quality

[Prettier](https://prettier.io) is used to format TypeScript code. Use it by running:

```
yarn format
```
Or per file:

```
yarn format:file request.ts
```