Screen%20region%202014-09-18%20at%2017.37.07_large

Avishaan Sethi

MongoDB SSH access on remote Meteor deployment

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 . . .

Read More

December 20, 2015

MeteorJS Quick Deploy

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.

Dependencies

I assume you already have npm installed. If you don't go ahead and get npm installed from here: . . .

Read More

August 13, 2015

Callback before, Promise after

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 . . .

Read More

April 05, 2015

Learning Promises via a Story

Learn the basic idea of promises in Javascript by listening to this story.

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 . . .

Read More

Posted in: javascriptnodejs

March 08, 2015

Archive