A personal one-shot example app using React, Tornado, and GraphQL.
The subscription code is not working.
Install NPM packages:
% npm installInstall pip packages and register tornado-graphql-example pacakge:
% cd tornado
% pip install -r requirements.in
% python setup.py developLaunch the GraphQL API server:
% tornado-graphql-exampleLaunch the development web server which serves the static client-side app:
% npm start--debug option enables auto-start on modifying files:
% tornado-graphql-example --debugBy default, all origins are allowed to CORS. Be sure to configure the following options.
allow_origin(default'*') orallow_origin_pathallow_credentials(defaultTrue)
- React
- Redux
- react-router and react-router-redux
- Apollo client (GraphQL integration)
- Semantic-UI-React (CSS framework)
The application code was generated by create-react-app.
See package.json for more information.
See tornado/requirements.in for more information.
- Create the independent
tornado-graphqlmodule same asflask-graphql - Add missing GraphQL features and make the code robust
- GraphiQL integration
- Tests
- Background job processing using ZeroMQ (Tornado really shines with this!)
- Authentication
- GraphQL subscription