Home » JavaScript

Tag Archives: JavaScript

Mailhog and Nodejs example

Hello. In this tutorial, we will implement a fake SMTP server with the help of Mailhog in a nodejs application. We will use Docker to install and run Mailhog as a container. 1. Introduction Mailhog is an email testing that offers to test an email set up with the help of a fake SMTP server. It allows to send emails ...

Read More »

Url shortener in node.js

Hello. In this tutorial, we will take a look at implementing the url shortener in the nodejs application with the help of mongodb. I will be using the mlab portal for creating and managing the mongodb. 1. Introduction These days remembering the short urls is quote a trend as people do not like to remember the big long urls for ...

Read More »

Using the EJS template in the node.js application

Hello. In this tutorial, we will understand and see a practical implementation of ejs template in the nodejs and express js application. 1. Introduction ejs or Embedded Javascript Templating is a template engine used by nodejs applications. The template engine helps to work on the html code with minimal code. Ejs is one of the most common templating engines used ...

Read More »

HTTP POST Request in Node using Axios

Hello. In this tutorial, we will understand and see a practical implementation of the HTTP POST Request with Axios in the express js application. 1. Introduction Axios is a promise-based HTTP client for browser and nodejs. It makes asynchronous calls to the restful endpoints and can be used with plain javascript or applications like Vue or React. It offers several ...

Read More »

Readable and Writable Streams in Node.js

Hello. In this tutorial, we will explain readable and writable Streams in a Node.js application. 1. Introduction Streams in the node are the objects that help you to write and read data to and from the destination source. There are four different types of streams in node.js: Readable – Stream uses for reading operations Writable – Stream used for write ...

Read More »

How to close a React Native modal with a button

I’ve been working with React Native lately, and I’ve come across a few unimplemented features I needed to add to the basic components. One of those components is the React Native Modal component that is used to show a view above another one. It doesn’t promise more features than that, but it can be very useful to implement your own ...

Read More »

Create Node.js Web Server

Hello. In this tutorial, we will create a simple node.js web server and handle the HTTP requests. The node.js framework is commonly used to create server-based applications which are further used to show the contents to the users. 1. Introduction 1.1 Setting up Node.js To set up Node.js on windows you will need to download the installer from this link. ...

Read More »

TagUI: an Excellent Open Source Option for RPA – Introduction

Today I want to introduce TagUI, an RPA (Robotic Process Automation) Open Source tool I am using to automate test scenarios for web applications. It is developed and maintained by the AI Singapore national programme. It allows writing flows to automate repetitive tasks, such as regression testing of web applications. Flows are written in natural language: English and other 20 languages are currently ...

Read More »