Skip to main content

Posts

MEAN Stack Basic

What is MEAN stack ? Mean is an acronym made up of commonly used technologies for an all Javascript web stack. The acronym “MEAN” stands for “ MongoDB , Express.js , AngularJS & Node.js ” and represents a group of technologies which are known to open source well together. The major advantage of MEAN stack with Node.js allows you to use Javascript with both side like front side and back end side respectively. Most important factor is that stack contains technologies have their large community to help us. Prerequisites First assume that you have knowledge of programming and at least basic knowledge of JavaScript,AngularJS and EXpress.JS. Before you start you need to install Node.js and MongoDB on your system. Also you have the knowledge about basic application concept CRUD and REST . Node JS Architecture Some basic points and questions are in my mind when I have start to understand the Node Js architecture. How Node JS works under-the-hood ...

Google Sign-In Application In Ionic

Introduction Here we create the demo for google sign  in application in Ionic, for that we are using the Google Sign-In Cordova/PhoneGap Plugin . This plugin allows you to authenticate and identify users with Google Sign-In on iOS and Android . Out of the box, you'll get email, display name, profile picture url, and user id. You can also configure it to get an idToken and serverAuthCode . Google API setup To communicate with google api we want to require some tedious steps. It is (strongly) recommended that you use the same project for both iOS and Android. Android To configure Android, generate a configuration file here . Once Google Sign-In is enabled Google will automatically create necessary credentials in Developer Console. There is no need to add the generated google-services.json file into your cordova project. Make sure you execute the keytool steps as explained here or authentication will fail. Login on Android will use ...

WooCommerce REST API with Ionic Framework

Step 1 : Enabling REST API To enable the REST API within WooCommerce, visit the WooCommerce > Settings > API tab and tick the Enable REST API checkbox. Step 2 : Generating API keys The WooCommerce REST API works on a key system to control access. These keys are linked to WordPress users on your website. To create or manage keys for a specific WordPress user, go to WooCommerce > Settings > API > Keys/Apps. To get started, select Add Key. Select the User you would like to generate a key for in the User field and add a Description. Choose the level of access for this API key, which can be Read access, Write access or Read/Write access. Then select the Generate API Key button and WooCommerce will generate API keys for that user. Now that keys have been generated, you should see two new keys, a QRCode, and a Revoke API Key button. These two keys are your Consumer Key and Consumer Secret. Place your consu...