Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/therise3107/GraphQL-RethinkDB

Sample application to demonstrate usage of GraphQL with RethinkDB
https://github.com/therise3107/GraphQL-RethinkDB

graphql rethinkdb

Last synced: 3 months ago
JSON representation

Sample application to demonstrate usage of GraphQL with RethinkDB

Awesome Lists containing this project

README

        

# GraphQL-RethinkDB

The app itself is very easy to understand please refer to **schema/schema.js**

### Initial Setup

* Git clone , npm install
* Install RethinkDB
* Browse to RethinkDB adminstrator
* Create Desired Tables. In our case
* r.db('test').createTable('Company')
* r.db('test').createTable('Employee')
* Add Secondry Index on ( one to many relationship ) child table. In our case
* r.db('test').table('employees').indexCreate('companyId')

## Coming up

* Integration with React

### To-Do

* Integration with Relay