Category: Node
-
Video – Step by Step using TypeScript in a Node.js Application
This video explains steps to use TypeScript in a Node.js application. You can read step by step article on the same here – here Download source code from here To start with create a folder and run npm init command inside the folder. After that install these dependencies, npm install -D typescript npm install -D…
-
Step by Step using TypeScript in a Node.js Application
Download or clone source code from here In this blog post, you are going to learn to configure the Node.js application to use TypeScript. At the end of the blog post, you will have a REST API created using TypeScript and Express in Node.js. Before starting to make sure that you have NodeJS installed on…
-
High Performance Angular Grid with Web Sockets
Read full article on the Infragistics blog You may have come across the requirement to push data in real time to an Angular Grid. To push data to the browser, you need a technology called WebSocket. You can implement that using NodeJS or ASP.NET SignalR. For the purpose of this article, we will use…
-
Step by Step building Node.js based REST API to perform CRUD operations on MongoDB.
Download Source Code of this post from GitHub here Node.js is one of the greatest platform to create backend of the application. Does not matter whether you are creating a mobile app for iOS or Single Page Web application using Angular, you will need a backend for the application. Usually you perform databases operations, authentications,…
-
Understanding routing of expressJS in Node.JS
For further advanced reading you may want to prefer REST API using express . I have started learning Node.JS and for web apps most popular ExpressJS framework. Well few call it big library as well. As learner does not matter whether big library or framework, let’s start exploring. While exploring express realised that one of…
-
Setup Express and run first application in Node.js
In this post we will take a step by step look in setting up Express and creating first application. I assume that you have already installed Node. If not then go ahead and install from here Once node.js is successfully installed, you can install Express framework by running npm install express on command prompt. After…
-
Resource from Node.js talk
Recently I gave a talk on Node.js. Find Slides from talk below, Find source code on Github from talk Find source code on Github from talk
-
Create REST API on Node.js using Visual Studio
Find Source Code on Github In this post I am not going to explain, what is REST? I assume you are already aware of REST concepts hence on this post to create REST API on Node.js which will perform CRUD operations. I am going to use Visual Studio to create Node Application and before you…
-
Create a Router in Node.js using crossroads
Routers are very important in any web server. Primary function of a Router is to accept request and on basis of requested URL trigger desired process. Consider a rough example in that client is requesting http://abc.com/users/myprofile and there request may serve from URL http://abc.com/node/2 assuming user is stored in node with id 2. In Node.js…
-
Error: `doctype 5` is deprecated, you must now use `doctype html`: Node.js Express App bug solved
I am using Visual Studio to create Node.js application. I created a Node project by selecting Blank Express Application project template from JavaScript project type. After creating project I pressed F5 to run application. On running application I got following error Solving this error is very easy. From views folder in project open layout.jade. You…