nodejs

Node JS Server with Express framework

Reading Time: 3 minutes Introduction: Express is a minimal and flexible Node.js web application framework that provides a robust set of features to develop web and mobile applications. It facilitates the rapid development of Node based Web applications. Following are some of the core features of Express framework − Allows to set up middlewares to respond to HTTP Requests. Defines a routing table which is used to perform different Continue Reading

Enabling CORS in Node.js

Reading Time: 2 minutes In the last blog, we’ve learnt the basic about the CORS, how we can setup and how it works. Now ini this blog, we’re going to learn how we can enable the it in node.js CORS is a browser security feature that restricts cross-origin HTTP requests with other servers and specifies which domains access your resources. Let’s say accessing images, videos, iframes, or scripts from Continue Reading

A Guide to CORS in Node.js with Express

Reading Time: 4 minutes Introduction Node.js is an open-source and cross-platform runtime used when executing JavaScript code on the server-side. One of the popular Node.js server frameworks is Express. Implementing CORS in Node.js helps you access numerous functionalities on the browser. Express allows you to configure and manage an HTTP server to access resources from the same domain. The three parts that form an origin are protocal, domain, and port. Let’s Continue Reading

Let’s learn Dockerizing a Node.js web app : Docker

Reading Time: 3 minutes The goal of this blog is to show you how to get a Node.js application into a Docker container. This blog is intended for development, and not for a production deployment. This blog also assumes you have a working Docker Installation and a basic understanding of how a Node.js application is structured. If you want to learn in more detail about it, you can refer here. So let’s Continue Reading

Getting started with first Node JS Server with HTTP

Reading Time: 3 minutes Introduction: Node.js is a platform built on Chrome’s JavaScript Runtime for easily building fast and scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. If you wants to learn more about Node.js, you can refer here. Before creating an actual “Hello, World!” application using Node.js, let us see Continue Reading

Submit Extrinsic from Custom Pallets using Polkadot Js API

Reading Time: 3 minutes Substrate is a next-generation framework for blockchain innovation. It comes with everything you need to build your blockchain. Substrate is a completely free and open-source project. It is built using Rust and WebAssembly. Rust is designed for creating fast and inherently safe software. Substrate is like a template from which you can make your own application-specific blockchain to add custom functionalities specific to one use case or group of Continue Reading

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

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

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