Testing the example flask_sqlalchemy with a JS react-redux app.
Start the example GraphQL service, as described in:
https://github.com/graphql-python/graphene/tree/master/examples/flask_sqlalchemy
I first tried using react-relay, but run into compatibility issues with graphene relay. Without relay, using react-redux, it works fine.
Credits to the tutorial: https://medium.com/@thisbejim/getting-started-with-redux-and-graphql-8384b3b25c56
Change server.js to point to the graphql service:
const GRAPHQL_SERVER = '127.0.0.1';
const GRAPHQL_PORT = 5000;
npm install
npm start