Skip to content

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

Notifications You must be signed in to change notification settings

jordangarside/Meteor-GraphQL-PostgreSQL-Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published