Tag Archives: NodeJS

How to Build a NodeJS REST API on Windows Azure Websites


via How to Build a Node.js REST API on Windows Azure Websites | Windows Azure Development content from Dev Pro.

In “Enabling a Node.js Server-Side App on Windows Azure,” I introduced the idea of running Node.js withinWindows Azure roles and why you might want to do so. Recent developments have made it easier (and potentially more cost-effective) to host Node.js applications on Windows Azure — by hosting Node.js applications within Windows Azure Websites. A compelling use of Node.js and its lightweight, non-blocking, highly asynchronous HTTP infrastructure is the building of REST APIs. To demonstrate this, the article will discuss how to build a lightweight trace-logging API that can be used from any REST-capable client. This API is built with Node.js and uses the NoSQL MongoDB document-oriented database to store the event log trace entries. In contrast to the previously referenced article, in which we used the Azure SDK to build and deploy the solution to Azure, here I will show how to use WebMatrix 2 to build and deploy the application to Azure Websites.

Video: NodeJS support for Azure Mobile Apps


Node js Tutorial with Visual Studio Code https://goo.gl/Dh4I6T Node.js Tutorials: From Zero to Hero with Nodejs https://codek.tv/258 JavaScript Tutorial for Absolute Beginners https://codek.tv/103 In this episode Haishi Bai and Elliott Miller are joined by Chris Anderson from the Mobile Apps team. Chris shares with us about the newly released Node SDK for Azure Mobile Apps. The SDK allows you to build and run Node.js-based mobile backends. This gives you the full power of Node.js without sacrificing the turnkey experience the community has been enjoying. Moreover, with the integration with App Services, you can leverage features such as continuous integration and multiple deployment slots. Last but not least, the whole project is open source (please see the link to the GitHub repository below) to embrace feedbacks and contributions from the community. Source: Channel9
From: NodeJS Fan

Javascript Automated Code Testing


Javascript Automated Code Testing
// CenturyLink Cloud Blog

Automated testing is a great way to improve the quality and speed throughout the development of your code. In this article I’ll explain some of the benefits of automated testing, show you how to add testing to an existing project, write tests, and then write code to make the tests pass. This article is written with the assumption you are familiar with Node.js and Gulp.

Using MySQL with NodeJS


Using MySQL with Node.js
// Kogonuso

How to use MySQL with Node.js

New to Node.js and wondering if you can use your old friend MySQL with it? Good news – it is surprisingly very easy to get MySQL working with Node.js. This article guides you through the process.

First of all, you’ll need to install an aptly named Node.js module called mysql.

Catching Fatal Errors with NodeJS child_process


Catching Fatal Errors with Node.js child_process
// javascriptkicks.com

I’m relatively new to hardcore Node.js hacking so I’m seeing all sorts of lovely new errors that I have no clue how to solve when I initially see them. To this point I’ve managed to keep a smile on my face while trying to fix these errors, a quality I quite enjoy about myself. One of the recent errors I encountered was with child_process, whereby an error would occur within an execSync command and the entire app would brick; not even a try/catch would save me. I did find a solution, however.

Using the DNS module in NodeJS


Using the DNS module in Node.js
// .NET Curry: Recent Articles

Use the Node.js dns module to do DNS lookup, as well as to use underlying OS name resolution abilities.

Simple Text to Speech Application in NodeJS


Simple Text to Speech Application in Node.js
// Coding Defined

nodejslogo.jpg
In this post we will show you how to create a text-to-speech module in Node.js using Edge.js. Text to Speech application actually means that you will provide text to the application and it will convert that to a speech. Edge.js connects Node.js and .Net together, where you will actually write the code in C# but it will be ran from Node.js.

If you are not aware of Edge.js, read Write .Net and Node.js code together using Edge.js. Using Edge.js you connect Node.js and .Net on Windows, MacOS, and Linux. You need to at first install Edge before proceeding with the code.