This tutorial explains how to use ExpressJS Session Stores using MongoDB and PostgreSQL. In one of our previous posts we saw how to work with sessions in ExpressJS app. In that example we made use of memory as the session store. We also mentioned that we can replace memory with other session stores like MongoDB, …
NodeJS Tutorials
Node.js : RESTful APIs using StrongLoop Arc
This tutorial guides you through writing REST APIs StrongLoop Arc tool. This is an alternative to its command line tools for developing REST APIs. When you finish this tutorial, you will be able to develop REST APIs using the StrongLoop’s Arc UI composer. In our previous post we saw how to create REST API using …
Node.js : Building RESTful APIs using Loopback and MySQL
This tutorial guides you through writing simple REST APIs using Loopback (a Node.js framework) using MySQL as the back end. At the end of this tutorial, you would be able to write your own REST APIs using Loopback framework. In one of our previous posts here, we wrote about building RESTful APIs using ExpressJS and …
Node.js : Operating System Utilities in Node.js OS Module
This tutorial walks through the usage of Operating System related utilities in the Node.js OS module. The OS module in Node.js offers wide set of methods that are useful in getting the relevant details about the native operating system. If you are Node.js beginner, please read our Introduction article on Node.js. Node.js provides operating system …
Node.js : Reading and Writing File in Node.js
This tutorial explains how to access the file system and read / write files using Node.js libraries. This tutorial explains about a module called fs for interacting with file system. I have written various Node.js articles covering the topics Scheduling Tasks in Node.js using Cron Package, ExpressJS and Bootstrap development and Node.js and MongoDB CRUD Operations. Also learn about …
Node.js : Modularizing Express.js and Node.js Applications
This tutorial explains how to modullarizing Node.js and Express.js applications. I am using the existing code from my previous post and explaining how to write a modular Node.js applications. When it comes to writing the modular Node.js applications, there isn’t any one better way to write the modular applications. It comes through your experience and …
Node.js : Packaging and Deploying Node.js Applications [COMPLETE GUIDE]
In this tutorial I am going to explain you how to use the Node Package Manager (NPM) to package and deploy your own Node.js application. I assume that you have already installed the Node.js and NPM in your local system to run this example. Simple Steps to Install Node.js and NPM on Windows In my previous …
Node.js : Simple Steps To Install Node.js and NPM on Windows
This tutorial is a step-by-step guide for walk you through on installing the Node.js and Node Package Manager (NPM) in your local windows system. Download the Node.js binary file (.msi) from the Node.js download page. Click on the Windows installer and save the .msi file in your local windows system. Once download the file, it is …