Basic Guidelines to Upload an Image in React JS Image uploads are a fundamental part of modern web development. Whether you’re building a social media platform, an e-commerce site, or a simple blog, the ability for users to upload images is a common requirement. Image uploads allows users to add… Continue Reading Basic Guidelines to Upload an Image in React JS

IntroductionOpenVZ is an operating-system-level virtualization technology for Linux. It allows a physical server to run multiple isolated operating system instances, called containers, virtual private servers, or virtual environments Prerequisite (i) Hardware specification (ii) Network specifications Implementation Step 1: Update and upgrade the dependencies  $ yum update && yum upgrade Step… Continue Reading How to Install OpenVZ 7 on CentOS 7

Introduction: In MongoDB, you can create read-only access for users by assigning appropriate roles that grant read-only privileges to the user. MongoDB provides several built-in roles that can be used to grant read-only access. The two most common built-in roles for read-only access are read and readAnyDatabase. Prerequisite: Step 1:Log… Continue Reading How to create read-only access for a user in MongoDB

Go to your facebook meta  for developers “app_id” , change it with our facebook app id Create App add click on none APP MODE : LIVE  When click on Quickstart open platforms for facebook login Add to info.plist In Xcode, right-click your project’s Info.plist file and select Open As ->… Continue Reading Facebook Integration

GOOGLE INTEGRATION 1.Go to the Firebase Console and create a Firebase project: 2.Dependency: yarn add react-native-google-singin 3.Update android/build.gradle with the following configuration: buildscript {     ext {         buildToolsVersion = “27.0.3”         minSdkVersion = 16         compileSdkVersion = 27         targetSdkVersion = 26         supportLibVersion = “27.1.1”         googlePlayServicesAuthVersion = “16.0.1” // <— use this version or… Continue Reading Google Integration

Installing CloudWatch on Lightsail instances provides access to a wide array of metrics.Once CloudWatch is configured, a dedicated namespace linked to the Lightsail instance becomes visible on the CloudWatch dashboard Follow below steps to install a CloudWatch on a Lightsail instance. 1. Log in to the Lightsail instance using connect… Continue Reading How to install CloudWatch on instances run by Lightsail?

There are different ways of communication available to pass data between the components in react projects. Method One: Using Call back functions & props For passing data from parent to child component, we use props. Props data is sent by the parent component and cannot be changed by the child… Continue Reading Passing variables and functions among components in React JS

Introduction: In React Js, Data can be exported to excel sheet for our reference. There are many libraries to perform this function. Here exporting data through exceljs library is explained. Prerequisite: Implementation: Step 1: Install the libraries. npm install exceljs npm install file-saver Step 2: Import them in the required… Continue Reading Export Excel Functionality in React JS

Introduction: To set up the PM2 service monitor on Nagios, you’ll need to follow these general steps. PM2 is a process manager for Node.js applications, so we’ll assume you’re monitoring Node.js processes managed by PM2. Prerequisite: 1. Server root login credentials. Step 1: Log in to your Ubuntu or Centos… Continue Reading How to set up the PM2 service monitor on Nagios

Introduction MongoDB is a popular NoSQL database that is used for storing large amounts of data in a flexible and JSON-like format. The Backup and Restore in MongoDB is an important part to handle a database. This utility is important because the valuable data can be removed or crashed or… Continue Reading How to backup and restore a Mongo Database