Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mikebild/graphql-pouch-as-library

Using Express and GraphQL-Pouch as a Library
https://github.com/mikebild/graphql-pouch-as-library

Last synced: 9 days ago
JSON representation

Using Express and GraphQL-Pouch as a Library

Awesome Lists containing this project

README

        

# Using Express and GraphQL-Pouch as a Library

## How to use

```bash
npm install
npm start
```

## Some example queries

__Query__
```graphql
{
settingByKey(key: "mcmc") {
id
rev
key
}
}
```

__Result__

```json
{
"data": {
"settingByKey": {
"id": "A",
"rev": "B",
"key": "mcmc"
}
}
}
```