# graphql-genie-client

> Fully Client Side GraphQL Using Genie

Latest version **1.0.0** (published 2018-07-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install graphql-genie-client
pnpm add graphql-genie-client
yarn add graphql-genie-client
bun add graphql-genie-client
```

## 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.0.0 |
| Published | 2018-07-03 |
| First published | 2018-07-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 14 |
| Unpacked size | 39.8 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Genie Team |
| Maintainers | acoreyj |

## Links

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

## Dependencies (14)

- [react](https://npm.io/package/react.md) ^16.3.2
- [lodash](https://npm.io/package/lodash.md) ^4.17.10
- [fortune](https://npm.io/package/fortune.md) ^5.4.2
- [graphql](https://npm.io/package/graphql.md) ^14.0.0-rc.1
- [graphiql](https://npm.io/package/graphiql.md) ^0.11.11
- [react-dom](https://npm.io/package/react-dom.md) ^16.3.2
- [classnames](https://npm.io/package/classnames.md) ^2.2.5
- [apollo-link](https://npm.io/package/apollo-link.md) ^1.2.2
- [graphql-genie](https://npm.io/package/graphql-genie.md) ^0.1.6
- [graphql-tools](https://npm.io/package/graphql-tools.md) ^3.0.2
- [fortune-indexeddb](https://npm.io/package/fortune-indexeddb.md) ^1.0.1
- [apollo-link-schema](https://npm.io/package/apollo-link-schema.md) ^1.1.0
- [graphql-subscriptions](https://npm.io/package/graphql-subscriptions.md) ^0.5.8
- [graphql-genie-subscriptions](https://npm.io/package/graphql-genie-subscriptions.md) ^1.0.2

## Recent versions

- 1.0.0 (latest) — 2018-07-03

## README

<div style="text-align:center"><img width="128px" src="resources/logo.svg" alt="GraphQL Genie Client logo"></div>

# GraphQL Genie Client


[![Dependency Status](https://david-dm.org/genie-team/graphql-genie-client.svg)](https://david-dm.org/genie-team/graphql-genie-client)
[![devDependency Status](https://david-dm.org/genie-team/graphql-genie-client/dev-status.svg)](https://david-dm.org/genie-team/graphql-genie-client/?type=dev)

**View in github pages** [here](https://github.com/genie-team/graphql-genie-client).

A React app providing a demo and example of [GraphQL Genie](https://github.com/genie-team/graphql-genie). __No coding required__.
All you need is to write [GraphQL Type Schema](https://graphql.org/learn/schema/) (or use the example provided). See how [GraphQL Genie](https://github.com/genie-team/graphql-genie) turns graphql type definitions into a fully featured GraphQL API with referential integrity and inverse updates. 

Data can be mocked, stored in memory or stored in your browsers IndexedDB (so refreshing doesn't wipe out your data).

## Settings

#### Data Mode

- Memory

  - Mutations will save to memory and queries will query from memory. Reloading will erase all data

- IndexedDB

  - Mutations will save to browser database and queries will query from the database. Data will be saved on reload of page

- Mock

  - Mutations will do nothing, queries will return mock data

## Roadmap

Ability to export data

## Development

```sh
npm install
npm run build
npm run start
```

## Thanks/Credit

[GraphQL Faker](https://github.com/APIs-guru/graphql-faker) from which I copied the react component

[Prisma GraphQL / Graphcool](https://github.com/prismagraphql/prisma) for inspiration

Logo Icon made by [Freepik](http://www.freepik.com) from [www.flaticon.com](https://www.flaticon.com/) is licensed by [CC 3.0 BY](http://creativecommons.org/licenses/by/3.0/)

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