Hello everyone, let’s see how to handle errors and exceptions.

Error handling, Exceptions, Helper and more :

To deal with Errors and Exceptions we will create a file called exceptions.json in which we will store all the common exceptions we might get.

So, create this exceptions.json file inside config folder like this:

Here, we have just stored some basic error messages like Invalid Password, Unknown Error, and Duplicate Entry etc. with their HTTP Codes.

Now, create another new file as exception.js inside this config folder to handle these exceptions.

Here, we are using a class constructor to throw the error according to the parameters provided…


Hello everyone,

In this article, we will see how to setup environment files and also how to send customized objects as a response.

Setting up the Environment Files:

Now, let us see how we can maintain our Local and Server related configurations dynamically.

Our project or application may pass through different stages like Development, Staging, Production, etc. and according to that, we can manage all the configurations.

Here, we will make a folder as “config” and inside this folder create one folder for “environment”. Now inside this environment folder, create 2 files as development.json and production.json.

Inside development.json file we…


Hello everyone,

Now, the next thing which we are going to start is basic CRUD operation. For that, you will be required to follow two setups installed in your machine.

To download Microsoft SQL Server Express edition:

https://www.microsoft.com/en-us/download/details.aspx?id=55994

To download SQL Server Management Studio:

https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-ver15

CRUD Operation using MsSql Database:

First, let’s create a Database as “Demo” using SQL Server Management Studio and then create a Product table like below:

Product Table:

Now back to our node js application, we will require some packages which can connect us to the database.

So using the terminal, install MsSql package and Express package from npm like…


Hello Everyone,

This article series will help you in building REST APIs using nodeJS and Express. Yes, using nodeJS you will connect to your Database Server (of any platform). So let’s dive into it and learn all these here!!

Topics to be covered:

  • Basic ‘Hello World’ Application
  • CRUD Operation using MsSql Database
  • Setting up the Environment Files
  • Sending Customized Response

But, before we dive deeper and start with our first demo, let us understand some fundamentals.

What is REST API?

• REST stands for REpresentational State Transfer.

• REST APIs are an approach for communication purposes used in various web service development.

REST API…


Hello Readers,

This is the Part-5 of our ReactJs tutorial series. In this article, we will publish and deploy ToDo Application, which we previously created, to Github pages.

Quick links for our ReactJs Series:

Tutorial #1 — Introduction and Installation of ReactJS

Tutorial #2 — ReactJS Components

Tutorial #3 — ReactJS Components Communication

Tutorial #4 — Build ToDo Application Using ReactJS

Tutorial #5 — Deploy ToDo Application to Github pages (This Tutorial)

Deploy ToDo Application to Github Pages

Here are the Steps to Publish your React application to Github:

  1. Firstly, visit the https://github.com/login and log in there.
  2. Create a New Repository and name it as ‘TodoReactApp’


Hello Readers,

This is the Part-4 of our ReactJs tutorial series. In this tutorial, we will make a simple ToDo application, but before that, you can check and refer to any previous article here:

Quick links for our ReactJs Series:

Tutorial #1 — Introduction and Installation of ReactJS

Tutorial #2 — ReactJS Components

Tutorial #3 — ReactJS Components Communication

Tutorial #4 — Build ToDo Application Using ReactJS (This Tutorial)

Tutorial #5 — Deploy ToDo Application to Github pages

What We’ll Build Today

  • Create a ToDo Application
  • Display all to-dos
  • Use Bootstrap
  • Use Font-awesome icons
  • Remove to-do item from the list
  • Update to-do item
  • Apply…


Hello Readers,

This is the Part-3 of our ReactJs tutorial series. In this article, you will learn how to communicate between ReactJS Components.

Quick links for our ReactJs Series:

Tutorial #1 — Introduction and Installation of ReactJS

Tutorial #2 — ReactJS Components

Tutorial #3 — ReactJS Components Communication (This Tutorial)

Tutorial #4 — Build ToDo Application Using ReactJS

Tutorial #5 — Deploy ToDo Application to Github pages

Components Communication

We are going to cover the following topics for communication:

  • What is Props?
  • Using Props with Class Components
  • Using Props with Functional Components
  • What is State?
  • State Vs Props

What is Props?

  • Props are the short…


Hello Readers,

This is Part-2 of our ReactJs tutorial series. In this tutorial, you will learn how to create ReactJS Components. In case if you do not have any idea about the basics of ReactJs and how to start with it, you can refer to our Part-1 tutorial.

Quick links for our ReactJs Series:

Tutorial #1 — Introduction and Installation of ReactJS

Tutorial #2 — ReactJS Components (This Tutorial)

Tutorial #3 — ReactJS Components Communication

Tutorial #4 — Build ToDo Application Using ReactJS

Tutorial #5 — Deploy ToDo Application to Github pages

What is a Component?

A component is a small reusable chunk of…


Hello Readers,

Welcome to the ReactJs tutorial series for absolute beginners!!

Our series of these articles will give you complete knowledge about how to start with ReactJs up to how you can deploy ReactJs application to Github.

Quick links for our ReactJs Series:

Tutorial #1 — Introduction and Installation of ReactJS (This Tutorial)

Tutorial #2 — ReactJS Components

Tutorial #3 — ReactJS Components Communication

Tutorial #4 — Build ToDo Application Using ReactJS

Tutorial #5 — Deploy ToDo Application to Github pages

Goals:

  • As you can see, We will start with installations — all the setups and tools required for ReactJs.
  • Then…


Photo by Sébastien LAVALAYE on Unsplash

With the release of Angular Version 9, we had may new awesome features, you can have a look at all changes and everything here, In this article, I will be talking about Lazy Loading of component (Dynamic Component). Yes, you read it, right? Now with the release of angular version 9. It is also possible to load component Lazily.

I hope you already created the application using the latest version of angular i.e. version 9. if not please create the new application by writing the following command.

ng new demoLazyComponent

Create a new component

ng g c demo1 --skip-import --skip-selector

the above command will…

jinal shah

Jinal Shah is corporate trainer on different technology like node.Js, Angular,Ionic 2, BOT Framework etc.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store