JS code implementation will be the same for all JS frameworks. I assume you have Node.JS basic development knowledge and phpMyAdmin installed in your system.
Let’s dive into implementation.
Install following modules.
npm i express ejs mysql
npm i -D nodemon
The project Structure should be like the following.
In this article, I am going to discuss various Encryption and Decryption technique.
There are basically two types of algorithms that are used for Encryption and Decryption.
In this algorithm, a single key is used for both Encryption and Decryption. It’s comparatively faster than its equivalent Asymmetric Encryption.
Symmetric Encryption is a kind of computerized algorithm that uses a specific key to secure an electronic message. Its conversion technique follows certain mathematical steps along with a private key, which makes it difficult for a hacker to decrypt. …
Uploading files in Single Page Application(SPA) sometimes becomes challenging. Today we will be implementing how to upload files in the Node.JS server from React.JS.
It doesn’t matter what framework you are using in the client-side, as far it is JS framework Code Implementation will be the same with some basic knowledge. I hope you have Node.JS’s and React.JS's basic development knowledge.
I have already written the same on .NET core web API and React. Please find the following link for that article.
To create a Node.JS and React project and install the following modules.
A synchronous program is executed one step at a time. Even with conditional branching, loops and function calls, you can still think about the code in terms of taking one execution step at a time. When each step is complete, the program moves on to the next one.
An asynchronous program behaves differently. It still takes one execution step at a time. The difference is that the system may not wait for an execution step to be completed before moving on to the next one.
Although here we will implement asynchronous program that will execute 15 different instance parallelly rather…
Onion Architecture is a project structural pattern that favors us with maintainable and testable code for enterprise systems. It enables us to have a different layer for a different level like Model, DA, Service, Controller, View.
Language-Integrated Query (LINQ) is a powerful query language introduced with .Net 3.5 & Visual Studio 2008.
LINQ API is a query syntax kit at the language level in C# and VB.NET to retrieve data from different sources(database). If we are using LINQ API, we don’t need to worry about data sources like ADO.NET, SQL, and many other databases. LINQ Query results in objects. Specifically, it lets us stay in an Object-Oriented Approach irrespective of Data Sources.
Standard Query Operators are methods defined for IEnumerable and IQueryable types. …
File Upload in SPA(Single Page Application) sometimes raises more stubborn than usual. Today we will be implementing how to upload files in .NET core Web API from React.
It doesn’t matter which framework you use in the client-side, as far it’s a JS Framework code implementation will be the same with little basic knowledge. Although we will be uploading files synchronously in .NET core.
Do create a .NET core Web API project and React project.
We will be using Visual Studio Code for React and Visual Studio for .NET core.
First let’s setup CORS in .NET core…
Today we are going to develop a Simple Notepad in Electron which will be having the following features
Let’s do npm init and do the following. It will create a package.json file which will contain out project’s information.
We will be using electron and fs-extra modules. We will be using fs-extra instead of fs node.js built-in module because it favors us with more features.
So let’s install the…
This tutorial explains how to sort Table’s rows according to the table’s column in Angular 9 using a directive approach. We will create a reusable component that will sort the table’s rows. To use this component zero configuration required in any component.ts file. Generally, we will be using an algorithm to sort data.
This sorting component can sort any type of data in a table like alphanumeric, string, number, and date. The configuration is too much less to implement.
Let’s start with creating an angular project
ng new sort