Two Meteor applications, just one database

Is it ok to have two Meteor applications connected to just one Mongo database? for example to have a public application to final users but have a separate internal application for administrative purposes but both connected to the same Mongo database. Is there any conflict with that?

4 Likes

Nope! It is perfectly fine.

In fact, if you don’t want to connect directly to the db, but instead reuse your server-side methods, you can take a look at http://docs.meteor.com/#/full/ddp_connect and evidently @acemtp has just posted a great write up about this subject at https://medium.com/unexpected-token/how-to-make-meteor-web-apps-communicate-together-a-comparison-with-the-rest-api-method-acef91040faf

3 Likes

Thank you! I really appreciate the information :slight_smile: