2017-11-30 22:11:43 +02:00
|
|
|
# Grapher 1.3
|
2016-09-14 16:04:08 +03:00
|
|
|
|
2016-09-24 08:20:00 +03:00
|
|
|
[](https://travis-ci.org/cult-of-coders/grapher)
|
2016-09-14 16:04:08 +03:00
|
|
|
|
2017-12-01 12:30:09 +02:00
|
|
|
*Grapher* is a Data Fetching Layer on top of Meteor and MongoDB. It is production ready and battle tested.
|
2016-10-05 11:52:48 +03:00
|
|
|
|
2017-11-30 22:11:43 +02:00
|
|
|
Main features:
|
|
|
|
- Innovative way to make MongoDB relational
|
|
|
|
- Reactive data graphs for high availability
|
|
|
|
- Incredible performance
|
2017-12-01 12:34:06 +02:00
|
|
|
- Denormalization ability
|
2017-11-30 22:11:43 +02:00
|
|
|
- Connection to external data sources
|
|
|
|
- Usable from anywhere
|
2016-10-05 11:52:48 +03:00
|
|
|
|
2017-11-30 22:11:43 +02:00
|
|
|
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.
|
2016-09-18 17:47:30 +03:00
|
|
|
|
2018-02-27 17:22:58 +02:00
|
|
|
Grapher 1.3 is LTS until 2024
|
|
|
|
|
2017-11-30 22:19:23 +02:00
|
|
|
### Installation
|
2017-11-30 22:11:43 +02:00
|
|
|
```
|
|
|
|
meteor add cultofcoders:grapher
|
2016-10-14 11:00:03 +03:00
|
|
|
```
|
2017-11-30 22:11:43 +02:00
|
|
|
|
2017-12-01 12:34:06 +02:00
|
|
|
### [Documentation](docs/index.md)
|
|
|
|
|
2017-12-21 19:59:15 +02:00
|
|
|
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/
|
2017-11-30 22:19:23 +02:00
|
|
|
|
2017-12-01 12:34:06 +02:00
|
|
|
### [API](docs/api.md)
|
|
|
|
|
|
|
|
Grapher cheatsheet, after you've learned it's powers this is the document will be very useful.
|
2017-11-30 22:19:23 +02:00
|
|
|
|
2017-12-21 21:23:05 +02:00
|
|
|
### Useful packages
|
2017-11-30 22:11:43 +02:00
|
|
|
|
2017-12-21 21:23:05 +02:00
|
|
|
- Live View: https://github.com/cult-of-coders/grapher-live
|
|
|
|
- Graphical Grapher: https://github.com/Herteby/graphical-grapher
|
|
|
|
- React HoC: https://github.com/cult-of-coders/grapher-react
|
|
|
|
- VueJS: https://github.com/Herteby/grapher-vue
|
2017-11-30 22:11:43 +02:00
|
|
|
|
2017-11-30 22:19:23 +02:00
|
|
|
### Premium Support
|
2017-11-30 22:11:43 +02:00
|
|
|
|
2017-11-30 22:19:23 +02:00
|
|
|
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:
|
|
|
|
```js
|
2017-11-30 22:11:43 +02:00
|
|
|
createQuery({
|
|
|
|
posts: {
|
|
|
|
title: 1,
|
|
|
|
author: {
|
|
|
|
fullName: 1
|
|
|
|
},
|
|
|
|
comments: {
|
|
|
|
text: 1,
|
|
|
|
createdAt: 1,
|
|
|
|
author: {
|
|
|
|
fullName: 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
categories: {
|
|
|
|
name: 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}).fetch();
|
2017-11-30 22:19:23 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
Result:
|
|
|
|
```
|
2017-11-30 22:11:43 +02:00
|
|
|
[
|
|
|
|
{
|
|
|
|
_id: 'postId',
|
|
|
|
title: 'Introducing Grapher',
|
|
|
|
author: {
|
|
|
|
_id: 'authorId',
|
|
|
|
fullName: 'John Smith
|
|
|
|
},
|
|
|
|
comments: [
|
|
|
|
{
|
|
|
|
_id: 'commentId',
|
|
|
|
text: 'Nice article!,
|
|
|
|
createdAt: Date,
|
2016-10-14 11:00:03 +03:00
|
|
|
author: {
|
2017-11-30 22:11:43 +02:00
|
|
|
fullName: 1
|
2016-10-14 11:00:03 +03:00
|
|
|
}
|
|
|
|
}
|
2017-11-30 22:11:43 +02:00
|
|
|
],
|
|
|
|
categories: [ {_id: 'categoryId', name: 'JavaScript'} ]
|
2016-10-14 11:00:03 +03:00
|
|
|
}
|
2017-11-30 22:11:43 +02:00
|
|
|
]
|
2017-11-30 22:19:23 +02:00
|
|
|
```
|