Skip to content

A minimal setup to use Apollo with Meteor and React, including subscriptions.

Notifications You must be signed in to change notification settings

jamiter/meteor-starter-kit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meteor + Apollo boilerplate

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

Includes

  • GraphQL being loaded via DDP
  • Apollo client
  • React
  • Accounts UI, Basic & password
  • ES6 syntax

Check package.json for specific versions

Running it

meteor npm install
meteor

Folder structure

.
├── 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 DDP Apollo
└── package.json            # node dependencies

Learn more

About

A minimal setup to use Apollo with Meteor and React, including subscriptions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 64.1%
  • CSS 34.9%
  • HTML 1.0%