#mernserieslec2 #mernstack #mernstacktutorial #buildmernstackwebsitemern #urduitacademy #AllaboutMiddlewareinaMernStack
Mern Series Lec-2 | Mern Stack Project Course | All about Middleware in a Mern Stack
Learn how to apply middleware to a MERN Stack Project. The backend of a MERN Stack Project is a Node.js & Express REST API. In this tutorial, we'll apply built-in middleware, custom middleware and 3rd party middleware.
Series lec-1,mern stack project course,mern stack tutorial,mern stack,mern stack project,mern stack tutorial,mern stack tutorial,mern stack crash course,mern stack developer roadmap,how to deploy a full mern stack on netlify from github,how to deploy a mern stack,how to build mern stack website,how to run a mern stack project,mern stack lec 1
MERN Stack Full Form
MERN Stack is a compilation of four different technologies that work together to develop dynamic web apps and websites.
It is a contraction for four different technologies as mentioned below:
M - MongoDB
E - ExpressJS
R - ReactJS
N - NodeJS
Considering you’ve downloaded and configured all the four aforementioned technologies, you need to know how to create a new project folder to get started with the MERN stack. Next, you need to open the folder on the CMD (or terminal) and enter the following command to initialize a package.json file:
npm init
MERN_Stack_1
A standard JSON package looks as shown below:
MERN_Stack_2
You can install modules by using:
npm install module_name -save
MERN Stack Components
There are four components of the MERN stack. Let’s discuss each of them one by one.
The first component is MongoDB, which is a NoSQL database management system.
The second MERN stack component is ExpressJS. It is a backend web application framework for NodeJS.
The third component is ReactJS, a JavaScript library for developing UIs based on UI components.
The final component of the MERN stack is NodeJS. It is a JS runtime environment, i.e., it enables running JavaScript code outside the browser.
Get the Coding Skills You Need to Succeed
Full Stack Development-MEANEXPLORE PROGRAMGet the Coding Skills You Need to Succeed
Let’s learn more about these MERN Stack components:
MongoDB
MongoDB is a NoSQL DBMS where data is stored in the form of documents having key-value pairs similar to JSON objects. MongoDB enables users to create databases, schemas, and tables. It offers the Mongo shell that provides a JS interface for deleting, querying, and updating the records.
ExpressJS
ExpressJS is a NodeJS framework that simplifies writing the backend code. It saves you from creating multiple Node modules. For keeping the code precise, ExpressJS offers a range of middleware.
ReactJS
ReactJS is a JS library that allows the development of user interfaces for mobile apps and SPAs. It allows you to code JavaScript and develop UI components. The JS library uses virtual DOM for doing everything.
NodeJS
NodeJS is an open-source JavaScript runtime environment that allows users to run code on the server. It comes with the node package manager or npm, enabling users to select from a wide selection of node modules or packages. Being developed on the Chrome JavaScript Engine enables Node to execute code faster.
We have started a new series of URDUIT Academy. In this video, we are explaining What is MERN STACK?. Please do watch the complete video for in-depth information.
In this video of MERN Stack series you will be able to learn how to apply middleware to a MERN Stack Project.
Free Technology lectures in URDU and Hindi language.
For a detailed list of lectures please visit our Website
www.urduitacademy.com
For any technical questions and discussions please visit our Facebook discussion forum or Facebook page
TABLE OF CONTENTS:
0:00:38 Agenda
00:00:45 Middleware
00:02:53 Working on Compiler
00:03:46 Making of Page
00:07:29 Working of Middleware
00:09:38 Checking Error
Facebook discussion Group is available at the following link
https://www.facebook.com/groups/urduitacademy/
Do not forget to hit Like and Share.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ABOUT US:
Urdu IT Academy is a free online training platform that provides free training in technology. It’s time for students to take command of their learning without using a classroom. The Internet is a source that is convenient and easy to access. UITA gives an incredible opportunity to students who want to polish their skills in Technology. At UITA, we help people from all over the world, enabling them to learn and earn a living from what they love.