In this article, we will teach you how to pass value between 2 components in Vue JS. We will be using Vuex for this. Video tutorial Create a store First, you need to create a store. To do this, install a module named vuex. Run the following command in your terminal: After that, you must …
Read More “Pass value between components – Vue JS”
In this article, we are going to teach you, how you can upload multiple images in Node JS and Mongo DB. Video tutorial: Initializing the project First, you need to create an empty folder and open a command prompt or terminal in it. Then run the following command in that CMD: It will ask multiple …
Read More “Upload multiple images in Node JS and Mongo DB”
Promises are created in Javascript to prevent the callback hell. But it came with its own problems and complexities. To deal with them, we were introduced to async and await commands. So today, we are going to teach you, how you can create a promise in Javascript, and how to call it using async/await command. …
Read More “Promise and async await in Javascript”
This article will show you how you can force your website’s HTTP requests to HTTPS using htaccess. Video tutorial What is htaccess ? .htaccess is a file used for server configuration. It is used primarily for URL redirection, preventing access to specific files, etc. Force HTTP requests to HTTPS using .htaccess If you have a …
Read More “Force HTTP requests to HTTPS using .htaccess”
In this tutorial, we are going to show you, how you can copy or move a folder from one storage to another storage folder in Laravel. Video tutorial So let’s say in your storage/app/public folder, these folders are already created by Laravel by default. We created 2 folders named folder1 and folder2. In folder1, we …
Read More “Copy entire folder from one storage to another – Laravel”
In this tutorial, we will teach you how to send email from a hosting email address using SMTP in PHP. Recently, Google has disabled its “less secure apps” option. This means that you can no longer send SMTP emails from your Gmail account. Step 1: Login to cPanel First step, is to login to your …
Read More “Hosting email address send SMTP email in PHP”
In this tutorial, we are going to teach you, how you can compress image in Node JS. You can download and install Node JS from their official site. Video tutorial: Compress image in Node JS First, create a new folder. Open CMD in it. And run the following commands: Then, create a file named “server.js” …
Read More “Compress image in Node JS”
In this article, we are going to provide you with a free course to develop a full-fledged real-time chat app in MEVN (MongoDB, Express, Vue JS, and Node JS) Stack. Here M stands for MongoDB which we have used as a database. E stands for Express which is a Node JS framework. V stands for …
Read More “Single page application in MEVN stack – Realtime chat”
In this tutorial, we are going to teach you, how you can encrypt and decrypt the strings using Node JS and Mongo DB. The encrypted strings will be saved in the database and upon retrieval will be decrypted. Setup the Project First, create an empty folder and open a command prompt in it. Then run …
Read More “Encrypt and Decrypt Strings using Node JS and Mongo DB”
In this article, we are going to teach you, how you can detect page leave event using Javascript. Sometimes we would want some action, like an AJAX call when the user leave the page and move to another tab. Or minimize the browser. We will create a simple video tag. And we will pause the …
Read More “Detect page leave – HTML & Javascript”