Starting today, you'll never have to enter the console to play with your collections again. With Mongol, you can view and edit your client documents right in the browser. And because Mongol is a debugOnly package, it does not compile to your production build.
Mongol configures automatically. To get started, run:
meteor add msavin:mongol
After installation, open your app in the browser and press Control + M to toggle it.
Note: the new Mongol requires Meteor 1.8
Using Mongol is like having a database management tool with-in your Meteor application. Meteor publishes data to minimongo
, and Mongol hooks into it to show you all the documents on the client. With that, you can:
- View the document counts in your
minimongo
collection - Browse the documents in your
minimongo
collection - Modify any document as if you have insecure on
- Get a reactive window into your data
Does Mongol require insecure to work? No, Mongol has special set of method's that allow it to interact with the database without disrupting your application permissions.
Is there a security risk to using Mongol? Since Mongol is a debugOnly
package, Meteor's build process will not compile it into production code.
Will Mongol cause my application to behave differently? All of the code and functions of Mongol are pre-fixed and scoped, so there shouldn't be any intrusion.
Mongol is part of Meteor Toys, and is licensed under the Meteor Toys License. (C) Toys, Inc 2019. All Rights Reserved.