All Projects → MikeBild → Graphql Pouch

MikeBild / Graphql Pouch

Licence: mit
GraphQL runtime using PouchDB

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Graphql Pouch

Rxdb
🔄 A client side, offline-first, reactive database for JavaScript Applications
Stars: ✭ 16,670 (+8627.75%)
Mutual labels:  graphql, pouchdb
Pronote Api
(Tout langage) API compatible Pronote 2020/2021
Stars: ✭ 186 (-2.62%)
Mutual labels:  graphql
Json To Simple Graphql Schema
Transforms JSON input into a GraphQL schema
Stars: ✭ 185 (-3.14%)
Mutual labels:  graphql
Autoserver
Create a full-featured REST/GraphQL API from a configuration file
Stars: ✭ 188 (-1.57%)
Mutual labels:  graphql
Apollo Offline
An offline toolkit for the Apollo client
Stars: ✭ 186 (-2.62%)
Mutual labels:  graphql
Tipe
🎉 Next Generation API-first CMS for developers. Generate an API-first CMS from a GraphQL schema with offline prototyping and an inline editor
Stars: ✭ 2,157 (+1029.32%)
Mutual labels:  graphql
Smakosh.com
My personal website
Stars: ✭ 185 (-3.14%)
Mutual labels:  graphql
Angular Spacex Graphql Codegen
Stars: ✭ 188 (-1.57%)
Mutual labels:  graphql
Next Ecommerce
⚡️ Quantum Ecommerce. Made with Next.js | GraphQL | Apollo Server | Apollo Client | SSR
Stars: ✭ 186 (-2.62%)
Mutual labels:  graphql
Graphql Spqr Spring Boot Starter
Spring Boot 2 starter powered by GraphQL SPQR
Stars: ✭ 187 (-2.09%)
Mutual labels:  graphql
Graphql Engine Heroku
Blazing fast, instant realtime GraphQL APIs on Postgres with fine grained access control, also trigger webhooks on database events.
Stars: ✭ 188 (-1.57%)
Mutual labels:  graphql
Fullstack
React/ApolloGraphQL/Node/Mongo demo written in Typescript
Stars: ✭ 12,653 (+6524.61%)
Mutual labels:  graphql
Graphql.js
A Simple and Isomorphic GraphQL Client for JavaScript
Stars: ✭ 2,206 (+1054.97%)
Mutual labels:  graphql
Next React Graphql Apollo Hooks
React, Apollo, Next.js, GraphQL, Node.js, TypeScript high performance boilerplate with React hooks GraphQL implementation and automatic static type generation
Stars: ✭ 186 (-2.62%)
Mutual labels:  graphql
Json To Graphql
Create GraphQL schema from JSON files and APIs
Stars: ✭ 189 (-1.05%)
Mutual labels:  graphql
Graphql Ppx
GraphQL language primitives for ReScript/ReasonML written in ReasonML
Stars: ✭ 185 (-3.14%)
Mutual labels:  graphql
Cf Graphql
Generate a GraphQL schema out of your Contentful space
Stars: ✭ 187 (-2.09%)
Mutual labels:  graphql
Blog Service
blog service @nestjs
Stars: ✭ 188 (-1.57%)
Mutual labels:  graphql
Crate
👕 👖 📦 A sample web and mobile application built with Node, Express, React, React Native, Redux and GraphQL. Very basic replica of stitchfix.com / krate.in (allows users to get monthly subscription of trendy clothes and accessories).
Stars: ✭ 2,281 (+1094.24%)
Mutual labels:  graphql
Koa Passport Mongoose Graphql
Koa 2 server with Passport + Mongoose + GraphQL
Stars: ✭ 190 (-0.52%)
Mutual labels:  graphql

GraphQL-API runtime on top of PouchDB

Build Status Package on npm

A GraphQL-API runtime on top of PouchDB created by GraphQL shorthand notation as a self contained service with CouchDB synchronization.

Objectives - evaluating for your project

  • Frontend-First-Driven approach without backend/database migrations
  • Friendly GraphQL shorthand notation spec to create typed data model definitions fast and easy
  • Self-contained // no infrastructure dependencies // no lock in
  • Customizable for seamless integration of existing resources

Usage

First install using npm:

npm install -g graphql-pouch

and then just run it!

graphql-pouch

For more information run:

graphql-pouch -h

##GraphiQL UI for development becomes standard

GraphiQL is a awesome web based tool by Facebook to let you interactively explore your data and your API. When development mode is enabled in GraphQL-Pouch, the GraphiQL interface will be automatically displayed at your GraphQL endpoint.

Example

graphql-pouch --development
Listen on port 3000
CouchDB sync URL: none
Relay enabled: true
Development mode: true
JWT-Authentication: false

Supported GraphQL schemas:
cms initialized and running - http://127.0.0.1:3000/graphql/cms

Navigate to the URL printed to your console after starting GraphQL-Pouch and use GraphiQL to fetch your data. When you want to use GraphQL-Pouch in production mode, the GraphiQL-App is ideally suited.

GraphQL and Relay

Check out the CMS example for a demo of GraphQL-Pouch, Relay and React in action.

Benefits

GraphQL-Pouch uses the joint benefits of PouchDB and GraphQL to provide a number of key benefits.

Roadmap

In the future, things that GraphQL-Pouch will include:

  • HTTPS Support
  • Mock/Fake data results
  • Runtime traceability using resolver timings
  • Role based authorization
  • MongoDB query language inspired subselections
  • DataLoader for batching and caching optimization
  • Subscriptions using PouchDB change notifications

and, of course:

  • better documentation
  • better validation and error messages
  • better debug logs
  • more tests
  • more examples

Run Tests

npm install
npm test

Development

npm run dev

Contributors

Check them out here

Issue Reporting

If you have found a bug or if you have a feature request, please report them at this repository issues section. Please do not report security vulnerabilities on the public GitHub issue tracker.

License

This project is licensed under the MIT license. See the LICENSE file for more info.

Thanks

You like this GraphQL server and you want to see what coming next? Follow me on Twitter @mikebild.

Enjoy!

Credits

Thanks to Matthew Mueller for his initial work on graph.ql which laid the groundwork for the GraphQL shorthand notation parser module.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].