Using relay in react native app
How to expose a graphql endpoint to react native app? Has anyone used relay in react native application? The examples in technical overview of relay https://facebook.github.io/relay/docs/getting-started.html use webpack to serve relay app and expose it to a graphql server: import express from 'express'; import graphQLHTTP from 'express-graphql'; import path from 'path'; import webpack from 'webpack'; import WebpackDevServer from 'webpack-dev-server'; import {StarWarsSchema} from './data/starWarsSchema'; const APP_PORT = 3000; const GRAPHQL_PORT = 8080; // Expose a GraphQL endpoint var graphQLServer = express(); graphQLServer.use('/', graphQLHTTP({schema: StarWarsSchema, pretty: true})); graphQLServer.listen(GRAPHQL_PORT, () => console.log( `GraphQL Server is now running on http://localhost:${GRAPHQL_PORT}` )); // Serve the Relay app var compiler = webpack({ entry: path.resolve(__dirname, 'js', 'app.js...