Ritesh Patel

Oracle Data Guard In A Cloud - Part I

A Linux Primer

As I always say: this blog is about sharing what I learn through my immensely satisfying struggles. Now when I am ready to pen down that means I am on to something. Quite precisely, recently I learned how to stand up an Oracle Active Data Guard in Amazon cloud. That also on a linux environment.

You will see tons of articles that . . .

Read More

January 15, 2015

Node REST API - Part VIII

Log my calls!

Kudos for staying with me through the entire series on Node REST API. This is the last and final tutorial in this series. I could have stopped this series at previous tutorial but I feel there is one more piece left and that is to integrate logging capabilities for our REST API. I personally would like to know if something has gone wrong in . . .

Read More

November 17, 2014

Node REST API - Part VII

Route my calls :-)

Routes are nothing but http URLs. In REST routes are referred to as end points. In Part V of this series we defined a simple route.

router.get('/api', routes.welcomeAPI);//api end point

We need to implement a welcome message for our API. A message that will say something about our API. Let's create a new file called . . .

Read More

November 14, 2014

Node REST API - Part VI

I am a Mongoose Model! Pretty huh!

In Part V we reviewed index.js file - an entry point for our REST API. In this tutorial we will build mongoose models. In Part II of this series we created few normalized documents for our recipes database. Now let’s build mongoose models using each document.

RecipeTypes Model

Our RecipeTypes document looks like below.

[ . . .

Read More

November 13, 2014

Node REST API - Part V

Enter REST API

Geez! That was a lot of grunt work. Finally we are ready to dive in and start writing the REST API using ExpressJS, NodeJS & MongoDB. First things first. Let’s add index.js file to our project.

Open “express-api” project in Sublime Text. Right click on the project and click add file. Save file as “index.js”. This file will be the . . .

Read More

November 13, 2014

Node REST API - Part IV

Full Speed Express!

Stage is almost set. In previous tutorials we learned how to set up our environment, worked with MongoDB & also learned basics about NodeJS. Now let’s look at ExpressJS - A Framework for writing REST API with NodeJS. Express JS documentation is pretty awesome. Therefore, no need to paraphrase the documentation instead, I will review few . . .

Read More

November 12, 2014

Node REST API - Part III

Node Primer

In Part II of this series we learned how to work with MongoDB. Before we dive into writing the REST API it is critical to review some basics on NodeJS. No, I am not going to bore you with yet another HelloWorld sampler, instead we will review what is important for writing a REST API.

I am assuming you have gone through the . . .

Read More

November 06, 2014

Archive

Cover image credit: http://flickr.com/photos/dpbirds/

This update link alerts you to new Silvrback admin blog posts. A green bubble beside the link indicates a new post. Click the link to the admin blog and the bubble disappears.

Got It!