So, everytime when I have to start my node apps I often forgot to run my MongoDB service and it is a bit annoying where you have to have one tab dedicated to something you won't touch at all and I thought I should find a way to run this from my startup item on my Mac OS X.
Luckily, this post from Hunter Ford's blog explains how to run your MongoDB in your Startup item on Mac OS X and here is how:
Create a file call org.mongo.mongod.plist in
If you use
vim you can do like this:
sudo vim /Library/LaunchDaemons/org.mongo.mongod.plist