Basic Demo of Meteor 1.3 (NPM support) with React, Lokka, GraphQL, PostgreSQL (Sequelize)
Live Demo (Not currently working due to Galaxy not working with Meteor 1.3 and NPM Packages)
- clone the repository
- modify
server/imports/PostgreSQL/connection.js
with your own credentials (either localhost, heroku instance, or other) - run
meteor
from project root
View GraphiQL locally at:
http://localhost:3000/graphql/ide?schema=World
- Latency Compensation:
Not Currently working because Lokka requires the cached item to be identical to what's received from GraphQL. Since IDs aren't randomly generated with Postgres (as opposed to Mongo) you can't just supply an ID for the server to insert. This could be worked around by only requesting data that doesn't include the ID and then inserting that into the cache.
- Lee Benson for this YouTube Video on GraphQL+Sequelize
- Arunoda for Meteor GraphQL Support and Demos