Skip to content
Grapher: Meteor Collection Joins + Reactive GraphQL like queries
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.npm/package Modified createQuery to accept options and implemented resolver queries Nov 28, 2017
@types/src added types for base grapher api Sep 27, 2018
docs Fixed a typo! May 10, 2019
lib
.gitignore Hotfixes 1.3.8 Oct 23, 2018
.travis.yml
CHANGELOG.md Added documentation Nov 30, 2017
LICENSE Added subbody capability to namedQuery Nov 26, 2017
MIGRATION.md
README.md Fixing typo Mar 27, 2019
main.client.js
main.server.js
package.js Bump to 1.3.12 Jun 6, 2019
tsconfig.json TS types for grapher Sep 21, 2018

README.md

Grapher 1.3

Build Status

Grapher is a Data Fetching Layer on top of Meteor and MongoDB. It is production ready and battle tested. Brought to you by Cult of Coders — Web & Mobile Development Company.

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.

Contributors

This project exists thanks to all the people who contribute. [Contribute].

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

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'} ]
    }
]
You can’t perform that action at this time.