Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 1.32 KB

README.md

File metadata and controls

25 lines (19 loc) · 1.32 KB

Meteor Pub-Sub Example App

This application illustrates the use of various Meteor pub-sub patterns including

  • Publishing a publication, subscribing to it, then displaying a list of documents (already in base)
  • Displaying a loading template while waiting for a subscription to be ready (already in base, basically a feature of composeWithTracker from react-komposer)
  • Publishing many documents with a subset of keys
  • Subscribing based on a route parameter (already in base)
  • Drilling into a single document and getting the remaining keys
  • Joining two collections in a publication using the reywood:publish-composite package
  • Displaying data from two joined collections together using helpers
  • Pagination
  • Infinite scroll
  • Reactively displaying new documents
  • Observing changes

Eventually this sample application will be described in a post on The Meteor Chef

Based on base. This means ReactJS and ReactRouter rather than Blaze and Iron-Router or FlowRouter.

To run this app:

  1. git clone https://github.com/MichelFloyd/meteor-pub-sub.git
  2. meteor npm install --save jquery bootstrap react react-dom react-router react-bootstrap react-komposer react-router-bootstrap jquery-validation babel-runtime bcrypt