Most React/Relay apps have similar server requirements - this is an attempt to bootstrap such a server
This kit includes an app server, a GraphQL server, and a transpiler that you can use to get started building an app with Relay. For a walkthrough, see the Relay tutorial.
- Start with Relay Starter Kit
- npm install
- smoke tests
- Simple React Component is rendered
- JSX transform
- Hot Module Reload
- Red Error flasher
- ES2015 support on the client
- Verify GraphQL features
- seed database / backend/s
- Graffiti based schema
- extend schema with REST backend/s
- Change webserver to Koa, add Lusca for security
- port middleware to use generators
- check http2 support in NodeJS (also check Webpack for compat)
- TLS encryption
- Detect connection performance (server ?)
- Logging & monitoring
- bunyan
- weston
- Authentication & Authorization:
- One approach to authentication/authorization with GraphQL-based server - https://github.com/mostr/graphql-auth
- Limit introspection capability programatically - graphql/graphql-js#113
- Test suite
- Unit test components
- Component integration
- Mocha, Chai, Sinon
- WebDriver ?
- Karma (other runners ?)
- Task runner
- Gulp / Slush
- Fly / Flightplan
- Deployment task
- Generate static site via React (server side) - during idle time
- Re/Generate schema (data/schema.json) and restart server
- Seed database
- Cluster support
- Geo-optimisation ?
- latency ?
- React tools
- GraphiQL
- Playground
- Block editors (Structor, Kattappa, Colonel Kurtz)
Relay Starter Kit is BSD licensed. We also provide an additional patent grant.