Home » JavaScript » Node.js

Node.js

NPM Can Do That?

I have been using the NPM package manager for a few years and watched it rise, almost fall (to Yarn) and evolve into a fast, full-featured package manager and much more. Along the way there are a few simple tricks that have saved me a bunch of cumulative time. Viewing Available NPM Scripts Picture this… you finally find some time ...

Read More »

Build a CRUD App with Express.js and User Authentication

“I love writing authentication and authorization code.” ~ No Web Developer Ever. Tired of building the same login screens over and over? Try the Okta API for hosted authentication, authorization, and multi-factor auth. Node.js is eating the world. Many of the largest companies are building more and more of their websites and API services with Node.js, and there’s no sign ...

Read More »

Build Secure User Management with Vue.js, Node, and Okta

“I love writing authentication and authorization code.” ~ No Web Developer Ever. Tired of building the same login screens over and over? Try the Okta API for hosted authentication, authorization, and multi-factor auth. Many of us have danced the JavaScript framework shuffle for years starting with jQuery, then on to Angular. But Angular is complex, so we turn to React. ...

Read More »

Debug Node.js Effectively with Chrome DevTools

Debugging is the task of identifying and removing errors from software applications, and it’s more than just printing out values in your code. This post describes how to efficiently debug Node.js programs using the latest Google Chrome DevTools. A lot of developers use console.log in order to debug their application. But why? The answer is easy: It’s inconvenient to use ...

Read More »

Serverless is the new Build Server: Google CloudBuild (Container Builder) via NodeJS

Google’s CloudBuild (a.k.a. “Container Builder”) is an on-demand, container-based build service offered under the Google Cloud Platform (GCP). For you and me, it is a nice alternative to maintaining and paying for our own build server, and a clever addition to anyone’s CI stack. CloudBuild allows you to start from a source (e.g. a Google Cloud Source repo, a GCS ...

Read More »

Node Js Chat Socket IO Example (Client & Server)

This tuorial is about socket programming in NodeJs. Here we will be using socket.io and express Js to create a sample chat application. Using socket.io library for websocket connection is very simple and it is a very powerful javascript library for realtime web applications.Here, we will be creating an application where there will be a server and a client communicating ...

Read More »

Node JS Basic Tutorial

This article provides a basic tutorial of NodeJs.Here, we will start with the simple NodeJs introduction and sample program and then leverage the discusion with the different modules such as HTTP, event, mysql, mongoDB available in NodeJs with the some simple use case and example code to make use of those modules in real time NodeJs application. What is NodeJs ...

Read More »

Node.js HTTP Request Example

In this post we take a look at how to make HTTP Requests with Node.js. This feature is key and important capability for a server side language. With Node.js being positioned as one of the best options for aggregating multiple services and high throughput due to its non blocking I/O operations, it is an important feature to learn about. So ...

Read More »