Posts

Showing posts from October, 2014

How to implement OAuth 2.0 server with Redis

Image
Index: Step 1: Install XAMPP Step 2: Get OAuth 2.0 server Step 3: Setup OAuth 2.0 server in XAMPP Step 4: Install Redis Step 5: Create and feed token and users structures in Redis Step 6: Test OAuth 2.0 First of all Before you start with the implementation, take a look to this video tutorial. Understanding OAuth Community site :  http://oauth.net/ Additional to the videos above, I'll share you the OAuth 2.0 authorization flow to have a better idea how this thing works. Step 1: Install XAMPP To test your OAuth 2.0 server you can install XAMPP from here (skip this step if you have another application server that supports PHP 5.3.9+) Step 2: Get OAuth 2.0 server Get a functional OAuth 2.0 server from  here      Or clone it :) git clone https://github.com/Kodran/OAuth-2.0-server-with-redis.git Step 3: Setup OAuth 2.0 server in the web application root folder If you are working with XAMPP, go...

Deploying a Node.js app in Microsoft Azure using Git

Image
Index: Step 1: Analyze your app Step 2: Choose a Microsoft Azure environment Step 3: Initialize git repository Step 4: Push the app to the cloud Step 1: Analyze your app Hi :) First of all, you need to analyze your Node.js application goals in order to decide, what kind of solution you are going to choose in Microsoft Azure.  Microsoft Azure offers several ways to host web sites:  Azure Websites ,  Cloud Services , and  Virtual Machines . Let's make easy to know how to do this. Source: http://azure.microsoft.com/enus/documentation/articles/choose-web-site-cloud-service-vm/ Step 2:  Choose a Microsoft Azure environment So, basically Microsoft  Azure offers three cloud deployment models for applications to be deployed in any of the eight Microsoft global datacenters: Virtual Machines (VMs), Cloud Services and Web Sites. The most appropriate deployment model depends on the level ...