Collection of meteors using the existing database


I am new to meteor and could not find a way to load existing database into meteor.

Here is the scenario. I have an existing remote database with collection 'analytics' that is being used by a mobile application to record users' data. For Meteor side, I am building an admin panel to load the analytics data for visualization. I successfully connects to the remote database however I am not able to display any data in Meteor.

Here is my code:

Analytics = new Mongo.Collection('analytics');

It shows empty array even though the collection is not empty.

Befor start Meteor, you need set MONGO_URL

Look at this article.

After that, you need autopublish package or correct pub/sub.