DGI Project MERN Technology
DGI Project MERN Technology
DGI Project MERN Technology
3
Choosing the Right Stack for your
Project-
Unfortunately, that isn’t always the right criteria for choosing the
best type of “stack”. Many factors come into play here, like:
• Type and size of the project
• Team expertise and knowledge bases
• Time to market
• Scalability
• Maintainability
• Cost of the overall development
4
What is a MERN Development Stack?
MERN is an acronym used to describe a specific set of
JavaScript based technologies that are used in the web
application development process. It is designed with an idea to
make the development process as smooth as possible. MERN
includes the following open-source components:
• Mongo DB
• Express JS
• React JS/ Redux
• Node JS
5
Every single one of these components plays a crucial role in the
web app development process. All of these provide an end-to-end
framework for developers to work in. For instance, Mongo DB is
a database system, Node JS is a back-end runtime environment,
Express JS is a back-end web framework and React is a front-end
framework.
1. Mongo DB
7
2. Express JS
This is also a free, open-source software, it can be classified as a
web application framework for Node.js. To be more precise, Express
JS is made for developing web apps and APIs.
Instead of manually writing full web server code in Node.js,
developers use this MERN component to simplify the coding
process. The best feature of this framework is that devs don’t repeat
the same code over and over, as they would with writing Node.js
code in the HTTP module.
8
3. React JS/ Redux
This is a JavaScript library used for building user interfaces. Originally
created by a software engineer who worked for Facebook, React was
later on open-sourced.
This specific library is often used for creating views rendered in
HTML. The views that you create in Reach declarative, which means
that you don’t have to deploy additional time on managing the
changes and effects they have on the data.
React uses a full-featured programming language (JavaScript) to
construct repetitive or conditional DOM elements.
With React, the same code can run on both the server and the
browser
9
4. Node JS
Originally built for Google Chrome and later on open-sourced,
Node JS is a cross-platform run-time JavaScript environment
used for executing JavaScript code outside of a browser.
JavaScript was originally used for front-end scripting, but Node
JS has enabled devs to use it to write command line tools and
back-end scripts for the purpose of creating dynamic web page
content before the page is sent to the user's web browser.
Node JS was designed with an idea of allowing devs to build
scalable network applications.
10
The Main Benefit of a MERN Stack
• JavaScript is everywhere. It is used both on the front-end and
back-end side. Because of this, there’s no need for context
switching.
11
Why to use MERN Stack for
Building e-Commerce Websites?
MERN Stack for e-commerce website
The main thing about an e-commerce website development is the trunk end
functionality. You can find hundreds of tens of thousands of requests that ping every
minute from all over the world. The backend must support the data fetching from
the server and display it in the front end. In addition to that, there are certainly a lot
of other elements such as for instance logistics, payment gateways, supplier
management, and more. These sophisticated features take a toll on the entire
performance of the site. So, to transport out such complex tasks and to keep
powerful round the clock, the trunk end should be robust and scalable otherwise,
the front end also collapses.
The crucial component of any successful e-commerce website is its loading time.
The backend processing should be significantly less than 20% or more than the
entire loading time. If your website is slow, then this means you're losing a big level
of potential customers.
PROJECTS-
-anshii.herokuapp.com
-react project user profile (LinkedIn clone)
THANKYOU