0

I have a mongodb hosted somewhere with the collection.

In my meteor application I want to get the data from that server and I want to publish the documents in that collection and I want to subscribe to that collection and

whenever the data changes in remote server I want to send the records to clients which is a normal meteor behaviour.

How to do this in meteor? Can anybody give example or give links to tuts.

user1934044
  • 516
  • 5
  • 18
  • Take a look here : http://stackoverflow.com/questions/10588038/how-to-use-the-existing-mongodb-in-a-meteor-project – Kuba Wyrobek Sep 09 '14 at 20:13
  • I dont know anything about Meteor, but I think it will help if you knew how this behavior is accomplished under the covers -- search for MongoDB and "tailable cursors" -- this technique creates the impression that you are subscribing to collection changes. – alernerdev Sep 10 '14 at 01:27

0 Answers0