How to import from JSON file into Meteor
// import data only when Products collection is empty if (Products.find().count() === 0) { console.log(...
27 articles
// import data only when Products collection is empty if (Products.find().count() === 0) { console.log(...
Packages that can be used to create multi-tenant apps. https://github.com/flipace/meteor-tenantify https://github.com/...
References: https://stackoverflow.com/questions/12632452/publishing-subscribing-multiple-subsets-of-the-same-server-col...
Meteor.methods({ test: function() { if (this.isSimulation) { return 1; // Client wants this to be 1 } else { return...
Looking into creating a multi-tenant app with Meteor? Luckily you're not alone and there are quite a few options availa...
if (Meteor.is_server) { Meteor.methods({ fetchFromService: function(userName) { var url = "https://api.twit...
Router.route('/search/:location?/:keyword?') Add an interogration mark after the parameter which you designate ...
A simple example on how to use the upsert query with Meteor framework. Values.upsert({ // Selector sourc...
http://www.hacksparrow.com/using-node-js-to-download-files.html ...
Guide for using Meteor 1.4 with MUP 1. Install NVM on your server, and set node version to 4.6.xcurl -o- https://raw.gi...
Great for development. Say you want to share the database with someone else in a remote location.Create a package.json f...
Get the context data as usual. E.g. with iron-router, build a route like:Router.route('Options',{ path:'options', da...
//try something like this data: function() { var user = Meteor.users().findOne({_id: this.params.id}); return user; } ...
How to disable Meteor user accounts? Check the following thread from the meteor forums. https://forums.meteor.com/t/se...
You will use the square brackets to surround the value that you need concatenated [ ]. Example:var addedString ="profil...
If you are looking for a way to remove an item from mongodb which is contained in an array the following stackoverf...
How to drop a database on a deployed mup instance without having to redeploy the whole instance? Login to your server: ...
Method 1: Manually recreate the package index. See link below for easy steps. http://stmpjmpr.com/posts/webstorm-meteo...
Use triple brackets {{{ helper }}} Creds: https://stackoverflow.com/questions/14267856/insert-html-markup-using-met...
If you're reading this entry you've likely also read this Stackoverflow (https://stackoverflow.com/questions/25722933...