/Meteor-GraphQL-PostgreSQL-Demo

Demo of Meteor with React Front-End, GraphQL middleware, and PostgreSQL database

Primary LanguageJavaScript

Meteor GraphQL PostgreSQL Demo

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)

Usage

  • 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

TODO

  • 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.

Credits