grapher/README.md
2017-03-16 22:54:01 +02:00

2 KiB

Welcome to Grapher

Build Status

(Build is not failing, it's just phantomjs acting weird on travis, all tests pass)

Documentation

http://grapher.cultofcoders.com

Long Term Support

Version 1.2 will be supported until 2020.

What ?

Grapher is a high performance data fetcher and collection relationship manager for Meteor and MongoDB:

  1. Makes data MongoDB denormalization easy (storing and linking data in different collections)
  2. You can link your MongoDB data with any type of database, and fetch it via Queries
  3. You have the same API for data-fetching whether you want your data to be reactive or not.

Sample

To give you an idea how this works, you can fetch the data like this:

{
    users: {
        profile: 1,
        githubTickets: {},
        posts: {
            title: 1,
            comments: {
                text: 1,
                date: 1,
                author: {
                    profile: 1
                }
            }
        }
    }
}

Updates

Check-out the CHANGELOG for latest updates.

Installation

meteor add cultofcoders:grapher

Useful packages and integrations

Integration with React (cultofcoders:grapher-react)

Provides you with an easy to use "createQueryContainer" function.

Live View (cultofcoders:grapher-live)

Provides a playground for grapher and provides documentation of your data

Boiler plate Meteor + React + Grapher

https://github.com/cult-of-coders/grapher-boilerplate