If somebody somebody wants take care about this demo - please open an issue. And I'll grant your permissions. Thanks.
This is a true story. The events depicted took place in Northwind in 1996-1998. At the request of the survivors, the names have been changed. Out of respect for the dead, the rest has been told exactly as it occurred. ©Fargo
This is application shown Component-Based approach on full power 💪💪💪.
Build using React, Relay Modern, GraphQL, React Router 4.
Internally implements many cool things:
- Connections with infinite lists and filtering
- Running Relay queries from component (not via routing)
- Display loaders when fetching data
- Build on top of graphql-compose auto-generated GraphQL schema from mongoose (MongoDB).
- Eslint with GraphQL fragment validation, Webpack 3, Babel 7.
- Static analysis with Flowtype
- Many thanks to @taion for
react-bootstrap
This APP has 8 basic types, which has many cross-relations (via one-to-one, arrays, connections):
- category
- customer
- employee
- order
- product
- region
- shipper
- supplier
Working example on Relay Classic can be found in classic branch, Relay Compat in compat branch.
GraphQL server source code (graphql-compose inside). Also you may find all data in JSON and CSV formats for your needs.
- @shayden for the csv dump.
- @tmcnab that converted it to MongoDB.
- @leisenstein that clean up a CSV data.
MIT