Node.js

Being HEADLESS is cool!

Reading Time: 4 minutes Hi! Welcome to this two-part series wherein first I am gonna explain what is headless CMS and in second we are gonna create an end to end dynamic angular app with headless CMS for serving the API requests. In short, there will be no hands-on tutorial on this blog. Let’s learn So, if you are a complete beginner to the web development world or you Continue Reading

Sendgrid

Integrate Sendgrid email service using NodeJS

Reading Time: 3 minutes SendGrid is a platform that offers email services and provides libraries to help you quickly and easily integrate with the Web API in 7 different languages: C#, Go, Java, Node JS, PHP, Python, and Ruby. In this blog, we are going to discuss how to integrate Sendgrid email services by using Node JS. To integrate Sendgrid with Node JS application we need to install latest version of node. Following are the steps to Continue Reading

Monkey patching in NodeJS

Reading Time: 3 minutes Hey guys, I am back with another blog in my series of blogs on mocking in nodeJS, so if you have read my last blog, in which we looked over how we can use sinon for testing in nodeJS to effectively mock and stub behaviours, so in this blog we would look over the concept of monkey patching to make things more testable, so let’s Continue Reading

Spies and Stubs in NodeJS

Reading Time: 3 minutes Hi folks, my last two blogs we discussed about how we can use monkey-patching to test complex code logic which could be difficult to test if it is not used, along with that we also looked over how can stub or mock behaviours of our dependencies using sinon, in this blog we would be exploring more utilities provided by sinon i.e; Spies and Stubs. Spies Continue Reading

RAP: Let’s discuss the architecture and technical details

Reading Time: 4 minutes In the previous blog, we discussed the journey and the features of RAP. In this blog, we will discuss the architecture and technical details. RAP Architecture: We have tried to follow the Domain-Driven Design and Reactive principles in designing RAP architecture. All RAP team members completed all the Reactive Architecture courses launched by Lightbend on cognitive classes to ensure adherence to reactive principles. These courses Continue Reading

Introduction to callbacks in Node.js

Reading Time: 2 minutes If you are familiar with JavaScript, you may have got acquainted with the concept of callbacks. If not, no worries, as here we will be discussing some basics of callbacks and how they actually work with respect to node.js. You may already know that the type of JavaScript functions is Object. So, just like any other object such as Array or String, we can pass Continue Reading

Dockerizing a NodeJS app with Redis

Reading Time: 2 minutes Hi folks, in this blog I would walk you through how can we seamlessly dockerize a NodeJS app along with redis, So as we know that docker is a pretty decent way of streamlining and making the process of deployment easier, efficient and pluggable, so let’s gets started but before that, the prerequisite for the blog is a basic understanding of docker

Develop Chrome Extension using Angular 7 | Part – 1

Reading Time: 3 minutes Extensions are the small software programs that are used to customize the experience of browsing. They enable the user to customize the browser’s functionality and behavior to individual needs or requirements. An extension is basically there to fulfill a single purpose that is narrow defines and easy to understand. Chrome extensions are in demand because they add features to Chrome browser to do functionalities/things easier Continue Reading

MEAN STACK: Installation (Part 2)

Reading Time: 3 minutes In the previous blog MEAN Stack: Introduction – Part 1, I have given a brief introduction of MEAN Stack and all the technologies used in it. In this blog, I’ll be discussing the installation of all the technologies one by one for Ubuntu. MongoDB: MongoDB is an open-source document database that provides high performance, high availability, and automatic scaling. The installation of MongoDB Community Edition Continue Reading

DOM Manipulation Using D3.js

Reading Time: 4 minutes D3 (Data-Driven Documents or D3.js) is a JavaScript library for visualizing data using web standards. It is an open-source JavaScript library developed by Mike Bostock to create custom interactive data visualizations in the web browser using SVG, HTML, and CSS. giving you the full capabilities of modern browsers and the freedom to design the right visual interface for your data.

Testing Node.Js Application with Gatling

Reading Time: 2 minutes In one of our project we needed to test a node.js application, so in this blog, I’ll be discussing node.js application using Gatlingjs. Gatlingjs Gatlingjs is an npm library to run gatling from a node.js project by placing the simulation files in your project repository. Prerequisites In order to setup Gatling, your system should have JDK8 and Scala installed so following are the links to Continue Reading

MEAN Stack: Introduction – Part 1

Reading Time: 2 minutes MEAN Stands for M – Mongo DB (database system) E – Express (back-end framework) A – Angular.js (front-end framework) N – Node.js (back-end runtime environment) What is MEAN? MEAN is a full-stack JavaScript solution that helps you build fast, robust, and maintainable production web applications. The stack used in mean is: Mongo DB: Mongo DB is an open-source, document database designed for ease of development and scaling. It is Continue Reading

Manipulating Server returned dates at client Side in Angular

Reading Time: 2 minutes Hey Visitor, Have you ever faced an issue with the date values on your website, when the date and time returned from server doesn’t change according to the client timezone , for eg. values returned from server at US will be different for a client at India so we need to manipulate the received time according to Indian Time Zone. So recently, I encountered this Continue Reading