https://github.com/rlancer/graphql-merge
An example of how to merge two databases using GraphQL
https://github.com/rlancer/graphql-merge
dataloader express graphql
Last synced: about 1 month ago
JSON representation
An example of how to merge two databases using GraphQL
- Host: GitHub
- URL: https://github.com/rlancer/graphql-merge
- Owner: rlancer
- Created: 2017-10-17T03:21:40.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-24T16:11:30.000Z (over 8 years ago)
- Last Synced: 2025-03-16T20:14:52.511Z (about 1 year ago)
- Topics: dataloader, express, graphql
- Language: JavaScript
- Homepage: https://blog.collaborizm.com/merging-rethinkdb-and-postgres-with-graphql-b8801f69c8ea
- Size: 57.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Merging RethinkDB and Postgres with GraphQL
> An example which shows how to merge 2 data sources into one via GraphQL · *[Read the full post on Medium](https://blog.collaborizm.com/merging-rethinkdb-and-postgres-with-graphql-b8801f69c8ea)*
## Getting started
```bash
git clone git@github.com:rlancer/graphql-merge.git
cd graphql-merge
# yarn
yarn
yarn start
# npm
npm i
npm start
```
It should automatically open up the GraphiQL interface, paste in the following query to see it work.
```graphql
{
payments {
id
user_id
message
amount
user {
id
name
}
}
}
```

# Enjoy
Join me on [Collaborizm](https://www.collaborizm.com/) for more tech and hacking!