Access the MongoDB instance on your MUP (Meteor UP) deployment using a GUI explorer
There comes a time when you need to access the MongoDB database associated with your remote MUP (Meteor Up) deployment. According to their docs the only way you can do this is to SSH in and access it from there. That's fine (and technically accurate) except that leaves you only with a console interface via
meteor mongo which isn't . . .
Quickly deploy MeteorJS to your own provider or services like Digital Ocean.
In this example we will talk about a quick deploy technique for MeteorJS apps. I recommend using Digital Ocean for this deployment example but any Nix based server should work.
I assume you already have npm installed. If you don't go ahead and get npm installed from here: . . .
Transliteration between callback and promises by example.
Sometimes when you see enough examples, things just click. I have multiple examples that show you an implementation (before) and then an alternate implementation using promises (after).
Note: Keep in mind that different libraries have different implementations but these should all still be relevant;
Here are some before and . . .
What is this about?
Any language/concept/idea is easier to learn when you come up with a relatable real life situation or metaphor. Programming is no different. I'll use the next few minutes to build up a simple promise example that you can run and play with while telling a memorable and relatable story.
My purpose here is to . . .