# graphql-client-example-server

> A simple GraphQL server for powering examples of various GraphQL clients in various languages.

Latest version **1.5.2** (published 2022-09-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install graphql-client-example-server
pnpm add graphql-client-example-server
yarn add graphql-client-example-server
bun add graphql-client-example-server
```

Provides the command `graphql-client-example-server`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.5.2 |
| Published | 2022-09-10 |
| First published | 2019-10-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.5 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 34 |
| Author | Gabriel Nordeborn |
| Maintainers | _zth |

## Links

- npm: https://www.npmjs.com/package/graphql-client-example-server
- Repository: https://github.com/zth/graphql-client-example-server
- Homepage: https://github.com/zth/graphql-client-example-server#readme
- Issues: https://github.com/zth/graphql-client-example-server/issues
- npm.io page: https://npm.io/package/graphql-client-example-server

## Recent versions

- 1.5.2 (latest) — 2022-09-10
- 1.5.1 — 2022-05-20
- 1.5.0 — 2022-05-19
- 1.4.0 — 2022-05-05
- 1.3.0 — 2020-07-29
- 1.2.0 — 2019-11-10
- 1.1.3 — 2019-10-28
- 1.1.2 — 2019-10-26
- 1.1.1 — 2019-10-26
- 1.1.0 — 2019-10-24
- 1.0.2 — 2019-10-23
- 1.0.1 — 2019-10-22
- 1.0.0 — 2019-10-22

## README

# graphql-client-example-server

A simple GraphQL server for powering examples of various GraphQL clients in various languages.

## Installation

You can install and run the server without needing to clone this repo by doing:

```
npm install -g graphql-client-example-server
```

...and then simply running with `graphql-client-example-server`.

You can also provide a `PORT` environment variable to control what port the server will run on (default `4000`).

## Developing

### Running

```
yarn start
```

### Building

```
yarn && yarn build --watch

// In a separate terminal
yarn start
```

## Features to cover

- [x] Node interface (for Relay)
- [x] Globally unique IDs
- [x] Database IDs
- [x] Connection-based pagination
- [x] Limit/offset-based pagination
- [x] Mutations
- [x] Enums
- [x] Custom scalars
- [x] Unions
- [x] Subscriptions
- [x] Defer/stream
- [x] Artifical delay's to emphasize defer/stream

---
_Source: https://npm.io/package/graphql-client-example-server · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
