json - How to connect MongoDB to Ani Meteor Theme? -


i using following ani meteor theme , can't seem connect mongodb successfully.

i tried create package.json , add following (didn't work):

{     "galaxy.meteor.com": {       "env": {         "mongo_url": "mongodb://..."       }    }  } 

i noticed packages file inside .meteor lists packaged in project structure different package.json.

my question is, how can connect mongodb database using anti meteor theme?

in server:

meteor.startup(() => {     process.env.mongo_url = 'mongodb://behrouz:zxcv1234@ds017514.mlab.com:17514/sourceplaze'; }); 

Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -