A simple kit to start experimenting with Apollo, Meteor and React.
- GraphQL server running with Express bound to the Meteor app
- Apollo client
- React
- Accounts UI, Basic & password
- ES6 syntax
Check package.json
for specific versions
meteor npm install
meteor
GraphiQL is enabled at /graphiql.
.
├── client # Client files
│ ├── styles # Styles
│ ├── main.html # First loaded view pulling from imports
│ └── main.js # Imports all required files - React render
├── imports # A client/server folder
│ ├── api #
│ | └── schema.js # Schema & query definitions
| └── ui # UI React rendering
│ └── App.js # Component using `graphql` HOC
│ └── Header.js # Basic presentational component
│ └── Loading.js # Reusable loading component
│ └── LoginForm.js # Component using `withApollo` HOC
├── server # Server files
│ └── server.js # Main server file initiating Apollo server
└── package.json # node dependencies