Skip to content

A minimal setup to use Apollo with Meteor and React.

Notifications You must be signed in to change notification settings

serut/meteor-starter-kit

 
 

Repository files navigation

meteor starter kit V0.1.6

A simple kit to start experimenting with Apollo, Meteor and React.

Includes:

  • Apollo server
  • Apollo client
  • Express
  • React
  • Accounts UI, Basic & password
  • ES6 syntax
  • check package.json for specific versions

Running it

meteor npm install
meteor

Quickfix Windows

meteor npm install --save-dev bcrypt-nodejs
meteor npm uninstall --save-dev bcrypt

Folder structure

.
├── 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

Learn more

No Auth for Graphiql

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!).

About

A minimal setup to use Apollo with Meteor and React.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.2%
  • HTML 2.6%
  • CSS 1.2%