Posts

Showing posts from 2016

WebRTC video call with ionic, nodejs and twilio

Start with nodejs to have the foundation setup:  (*Note: This guide will work for those who have basic knowledge of ionic) Install the following which will be required in nodejs application npm install express npm install twilio npm install body-parser npm install cors // load all node modules var express = require( 'express' ); var app = express(); var cors=require( 'cors' ); var http = require( 'http' ); var path = require( 'path' ); var AccessToken = require( 'twilio' ).AccessToken; var ConversationsGrant = AccessToken.ConversationsGrant; var bodyParser = require( 'body-parser' ); var server = require( 'http' ).Server(app); // create and start express server server.listen( 5000 , function (){ // change 5000 to process.env.PORT if you are deploying to Heroku console.log( 'The chatroom is now live at port # ' + 5000 ); }); app.get( '/token' , function (request, response) {

Integration of Ionic with Visual Studio 2015

Image
                                          CHAPTER-2 The integration of ionic with Visual Studio 2015 requires you to have ionic project. You can either download the ionic zip projects or follow  chapter 1 of this series.   http://ionicsupport.blogspot.com/2015/12/beginners-guide-for-installation-of.html Step 1 :  Open your visual studio 2015 and create a new project, go to the javascript template → apache cordova, you will see tools for cordova, install it. Step 2 : Create a new project, go to the javascript template → apache cordova apps, you will see a blank app(Apache Cordova), create it. Step 3 : After creating it, copy the merges,  YourProjectName.jsproj(name it same to the ionic project) and taco.json file. Copy these 3 files and folders to the ionic project you created, run the YourProjectName.jsproj in vs2015. Step 4 : After saving all in visual studio, you will get .sln file  in your ionic project. That is all needed to in