How to use Azure Bing Spell Check API using node.js?

Microsoft Cloud Service - Azure provides different Cognitive AI/ML APIs which help solve problems and automate stuff. The Bing Spell Check API helps you to detect spelling errors in the text which you scan using API. It gives suggestions of words which might be wrong in the sentence. [Try the demo ] Let us get … Continue reading How to use Azure Bing Spell Check API using node.js?

Advertisements

Reversing a string in 3 ways using JavaScript

There are three popular ways you can reverse a string in JavaScript. Solution #1 - Using S-P-J (Split-Reverse-Join) Split the string into array of characters using split() function Reverse the characters of array using reverse() function Join back the characters in the array using join() function Solution #2 - Using Loop - C-L-A(Create - Loop … Continue reading Reversing a string in 3 ways using JavaScript

How to deploy your node.js web application with AWS Beanstalk?

This post will show you how we can quickly create a node.js web aplication based on express framework and how to deploy that application on AWS using AWS BeanStalk service. Now first you need to know what is AWS BeanStalk? Some information about AWS BeanStalk: AWS BeanStalk is the fastest and simplest way to deploy … Continue reading How to deploy your node.js web application with AWS Beanstalk?

HTML 5 Form Validation with JavaScript, JQuery and Ajax

HTML Form validation is important part while building a website having form fields. The input fields need to validated and checked if there are null values. This post will show you different types of validation possible using Client side browser validation and using JavaScript. input "required" The required attribute is a boolean attribute. When present, … Continue reading HTML 5 Form Validation with JavaScript, JQuery and Ajax

How to use Timers in Node.js?

If you want to execute after set period of time, timers are used for that. Timers are globally available in node.js. Check official documentation here. Three types of timers are: setTimeout() setImmediate() setInterval(); setTimeout() - "When I say so!" used for scheduling execution of code after set of milliseconds. accepts set of arguments - first arg. … Continue reading How to use Timers in Node.js?

Asynchronous call to a REST API using Node.js and using the Promises.

There is nothing new about sending a request to a REST API and fetching a response. In this blog we will show how can we make an asynchronous call to a API, which means your node.js code will be able to perform other operations while it requests sent to an API fetched the response. What … Continue reading Asynchronous call to a REST API using Node.js and using the Promises.

Node.js: Developing a chat bot on Microsoft Azure Portal

To develop  chat bot on Microsoft Azure Portal you should have Microsoft Outlook ID and you need to login to the Azure Account and activate the free trial  for next 30 days. After you have setup the Azure account he we need to go to: New > AI+Cognitive Services > Web App Bot As shown in … Continue reading Node.js: Developing a chat bot on Microsoft Azure Portal