Skip to main content

MERN stack

The MERN stack is a collection of technologies that developers use to build web applications using JavaScript.

The acronym MERN stands for MongoDB, Express, React, and Node.js. The MERN stack is a full-stack solution that uses JavaScript and JSON to create a three-tier architecture. It's popular because it only requires one programming language, JavaScript.


Each component plays a specific role in the architecture of a MERN application.

MongoDB:

MongoDB is a NoSQL database that is used to store data in a document-oriented format. This makes it ideal for storing JSON data, which is the native format of JavaScript objects.

Express:

Express is a web framework that is used to build the backend of a MERN application. It provides a number of features that make it easy to develop and deploy web applications, such as routing, middleware, and templating.

React:

React is a JavaScript library that is used to build the frontend of a MERN application. It provides a number of features that make it easy to build user interfaces, such as components, state management, and virtual DOM.

Node.js:

Node.js is a JavaScript runtime environment that is used to run the MERN application. It provides a number of features that make it ideal for developing web applications, such as event-driven programming, non-blocking I/O, and a large number of modules.


The MERN stack follows a three-tier architecture, which is a common pattern for designing web applications. The three tiers are:

Presentation tier:

The presentation tier is responsible for displaying the user interface of the application. It is typically implemented using a JavaScript library such as React.

Application tier:

The application tier is responsible for handling the business logic of the application. It is typically implemented using a web framework such as Express.

Data tier:

The data tier is responsible for storing and retrieving data. It is typically implemented using a database such as MongoDB.


Here are some of the benefits of using the MERN stack:

  • use JavaScript for both the frontend and backend of the applications
  • scalable
  • build a wide variety of web applications


Comments

Popular posts from this blog

Certified Enterprise Architect Professional (CEAP) - Module 4 - Architecture Precursors

 Architecture Precursors: Precursors to modern Enterprise Architecture (EA) include early frameworks like IBM's Business Systems Planning (BSP), which focused on aligning business strategy with information systems, as well as other Information Systems (IS) architecture methodologies that emerged in the 1970s and 80s, emphasizing the connection between business processes and IT systems, laying the groundwork for the holistic view of an organization that EA represents today; the "Master Plan for Information Systems" by Evans and Hague is also considered a foundational concept in this area. Drivers: internal / external pressure enforce to change the system Aims & Directives: Aims:  Goals Objectives Requirements Directives: Principles (example: Principles can be associated with business, data, applications, infrastructure, or security) Policies (example: Members of the public have minimal access to data) Business Rules (example: A rule directs and restricts a procedure)

Scaled Agile Framework (SAFe)

The Scaled Agile Framework (SAFe) is a set of organizational and workflow patterns for implementing agile practices at an enterprise scale. The framework is a body of knowledge that includes structured guidance on roles and responsibilities, how to plan and manage the work, and values to uphold. Scrum is a simple, flexible approach to adopting Agile that's great for small teams. SAFe is an enterprise-wide Agile framework designed to help bring Agile beyond the team and into the company as a whole. Scaled Agile has built a comprehensive level that includes all the four layers called the team, program, large solutions, and portfolio level. 4 Layers: Portfolio - Strategy, Vision, Roadmap, Strategy goal, Decision making, Budget, Portfolio level metrics,  Program - Align multiple teams towards a common mission, Bring together all the Agile teams, transparency, collaboration, and synchronisation, Scrum of Scrums, Product Owners to define the overall vision. Large Solutions - ar...

4 T's - Technology, Time, Teamwork, Transparency

 1) Technology: Software development technologies are the tools and methods that developers use to design, develop, test, and deploy software applications. These include a wide range of software technologies, such as programming languages, frameworks and libraries, databases, and cloud computing platforms. 2) Time: A timebox is a fixed time period within which a deliverable must be produced in a project management context. It's a time management technique that involves dividing time into individual time periods, each with its own goal, duration, and deadline. Timeboxes are self-contained calendar events that can't be extended once they've started. The fundamental principle of timeboxing is that time in timeboxes can't shift, and once the time runs out, work must stop, even if the task isn't finished.  3) Teamwork: Teamwork in project management is a measure of how well a project's team works together to achieve a goal. It involves collaboration, communication, a...