Git Submodule

What is Git? Git is a free and open source distribution for the management of software or program’s version. Alternative to svn, which is also a version control system. How Git Works? Git creates a bunch of trees, blobs, etc from your code And assigns hash value to of them....Read more

Authentication vs Authorization

Let’s discuss the two topics which seem to have same meaning but actually they define different things. Authentication Authentication means validating the identitity of the user by the use of username-and-password mechanism or different mechanism. Here system checks whether the person is using alloted credentials or not. Its the process...Read more

Develop Chrome Extension

In this blog post I will discuss hot to create your own Google Chrome Extension and how to load your developed code into chrome to work. What Extension Code consists of? Your chrome extension code mainly consists of HTML, CSS and Javascript files where your external javascript file is linked...Read more

OpenVPN Docker

In this blog post, we are going to discuss how to install and run an OpenVPN docker container. Clone Github Docker repo written by Kylemanna. git clone https://github.com/kylemanna/docker-openvpn.git Now Build the Docker image cd docker-openvpn/ docker build -t myownvpn . Now create a folder to store your configuration files. cd...Read more

Working With Sequelize

About Sequelize It is a promise-based NodeJS ORM for connecting with various databases like SQLite, MySQL, Postgre, etc. In this blog post we will focus on models and seeders only. npm i sequelize About Sequelize CLI It is a command line tool for generating files, seeding records in database, etc. npm...Read more

Form Field Validation in NodeJS using Middleware

In this blog we are going to discuss about the form field validation in NodeJS using express middleware. Why to use middleware ? There are several ways to validate the form fields in NodeJS but middleware is also on the best, simple and effective way to validate the form fields....Read more

10 Most Important Status Code for websites

In this blog we are going to discuss 10 most important status codes that every developer should use while developing any website / web application. 1- OK ( 200 ) This response code indicates that the website is performing normal/smooth. The resource requested from the server has been fetched and...Read more

Integration Testing with NodeJS

We are going to Test the Route life cycle in NodeJS using mocha. If you want to know how to test NodeJS application when a particular route is requested using the browser / API calls then you can continue with this post. This post will give you a basic idea...Read more

Environment Variables Do’s and Don’t

What are Environment Variables ? These are the variables that play an important role in the configuration of any application/program. They are just like normal variables, a key-value pair. Also, they contain critical pieces of information. So Why to use Environment Variables ? As said earlier, they help in configuration,...Read more