A simple kit to start experimenting with Apollo, Meteor and React.
- Apollo server
- Apollo client
- Express
- React
- Accounts UI, Basic & password
- ES6 syntax
- check
package.json
for specific versions
meteor npm install
meteor
meteor npm install --save-dev bcrypt-nodejs
meteor npm uninstall --save-dev bcrypt
.
├── client # Client files
│ ├── main.css # 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 #
│ └── App.js # UI React rendering
├── server # Server files
│ └── server.js # Main server file initiating Apollo server
└── package.json # node dependencies
Note that although Graphiql is enabled at /graphiql, it is not authenticated by Meteor, so for example the query on user
used by the app will not work in Graphiql. You can help us improve this, or you can relax the auth check in the resolver if you want to play with it (not production-safe!).