No description
Find a file
2019-02-21 00:42:40 +01:00
.npm/package Modified createQuery to accept options and implemented resolver queries 2017-11-28 17:38:51 +02:00
@types/src added types for base grapher api 2018-09-27 01:45:17 -04:00
docs Scoped query docs & some improvements 2018-10-24 13:05:13 -07:00
lib Add .stop hook. 2019-02-21 00:42:40 +01:00
.gitignore Hotfixes 1.3.8 2018-10-23 16:18:39 +03:00
.travis.yml Using npm chai instead of practicalmeteor:chai, updated peerlibrary:subscription-scope to 0.4.0 2018-10-25 01:54:30 -07:00
CHANGELOG.md Added documentation 2017-11-30 22:11:43 +02:00
LICENSE Added subbody capability to namedQuery 2017-11-26 20:18:30 +02:00
main.client.js GraphQL Bridge initial implementation 2018-03-29 19:04:43 +03:00
main.server.js GraphQL Bridge initial implementation 2018-03-29 19:04:43 +03:00
MIGRATION.md Grammer fix & clarification in migration docs 2018-08-11 23:03:38 -04:00
package.js Fixed internal testing process 2019-02-15 05:55:49 +02:00
README.md Added Meteor Night Talk Slide 2018-06-02 08:56:35 +01:00
tsconfig.json TS types for grapher 2018-09-21 19:29:07 -04:00

Grapher 1.3

Build Status

Grapher is a Data Fetching Layer on top of Meteor and MongoDB. It is production ready and battle tested.

Main features:

  • Innovative way to make MongoDB relational
  • Blends in with Apollo GraphQL making it highly performant
  • Reactive data graphs for high availability
  • Incredible performance
  • Denormalization ability
  • Connection to external data sources
  • Usable from anywhere

It marks a stepping stone into evolution of data, enabling developers to write complex and secure code, while maintaining the code base easy to understand.

Grapher 1.3 is LTS until 2024

Read more about the GraphQL Bridge

Installation

meteor add cultofcoders:grapher

Documentation

This provides a learning curve for Grapher and it explains all the features. If you want to visualize the documentation better, check it out here:

https://cult-of-coders.github.io/grapher/

API

Grapher cheatsheet, after you've learned it's powers this is the document will be very useful.

Useful packages

Events for Meteor (+ Grapher, Redis Oplog and GraphQL/Apollo)

  • Meteor Night 2018: Arguments for Meteor - Theodor Diaconu, CEO of Cult of Coders: “Redis Oplog, Grapher, and Apollo Live.

Premium Support

If you are looking to integrate Grapher in your apps and want online or on-site consulting and training, shoot us an e-mail contact@cultofcoders.com, we will be more than happy to aid you.

Quick Illustration

Query:

createQuery({
    posts: {
        title: 1,
        author: {
            fullName: 1,
        },
        comments: {
            text: 1,
            createdAt: 1,
            author: {
                fullName: 1,
            },
        },
        categories: {
            name: 1,
        },
    },
}).fetch();

Result:

[
    {
        _id: 'postId',
        title: 'Introducing Grapher',
        author: {
            _id: 'authorId',
            fullName: 'John Smith
        },
        comments: [
            {
                _id: 'commentId',
                text: 'Nice article!,
                createdAt: Date,
                author: {
                    fullName: 1
                }
            }
        ],
        categories: [ {_id: 'categoryId', name: 'JavaScript'} ]
    }
]