API Caching with Redis and Node.js

In this post, I would like to show you, how we can use Redis to Cache APIs response to avoid multiple hits to the API. Same technique you can use to avoid multiple database calls ..etc We gonna create the express.js application […]

Download remote URL files using Node JS, wget

In this post, I would like to show you downloading files using node js and wget. We gonna use URL, child_process and path modules to achieve this. Just go through the comments for a better understanding. You can download […]

Enabling HTTPS for Your Express App

I am gonna show you the usage of SSL certificates along with Express JS based application. Once you have your private key and certificate, using them in your app is easy. http Server Let’s revisit how we’ve […]

How to Delete a File in Node JS

The following tutorial will describe how to delete files that you no longer need, deleting files using node js extremely simple with node js’s fs library. Note: There is no way of undoing deleted files, just keep […]

How to Connect to MySQL Database from Node.Js

In this article you will learn how to connect to MySQL server database using Node Js MySQL driver. We gonna use a MySQL driver called “mysql”. It is written in JavaScript, does not require compiling, and is […]

Send Email using G-Mail SMTP in Express/Node.js

In this arti­cle, I will demon­strate a sim­ple exam­ple of send­ing emails using G-Mail SMTP in Express/ Node.js. fortunately sending emails in express/node js pretty easy, in node.js there are many open source email […]

Serving static files with Node JS

During the front-end development to serve static files such as images, CSS files, and JavaScript files you require the web servers. and as of now you used Apache or Nginx etc servers to server files. Installing HTTP servers […]

Create WebPage Screenshots with Node.js and PhantomJS

To create webpage screenshots we are going to use PhantomJs. PhantomJS is a headless WebKit scriptable with a JavaScript API. It has fast and native support for various web standards: DOM handling, CSS selector, JSON, […]

DMCA.com Protection Status