What is a Tech Stack?
A Stack is a combination of all frameworks and libraries using which you can create an entire application from Frontend to Backend and Database.
MERN Stack
- A variation of Full Stack Web Development.
- MERN Stack is a Tech Stack used in building an End to End Full Stack Web Application.
- We have a client made up of React, Node and Express for API and the backend and MongoDB as the Database. \
MongoDB
- MongoDB is a NoSQL Document Based Database.
- Data is stored in the form of documents.
- It does not follow any schema like SQL databases do.
Express
Express is a backend framework for creating Web Applications on Node.js. • Express lets you build a server that runs on Node. • A Server receives requests from the client and returns back a response. It is responsible for interacting with the Database.
Node:
• Node is a open source Cross platform Runtime Environment for running JavaScript Applications. • Since JavaScript can only run inside the browser, Node sets up an environment where we can run JavaScript on the server as well.
React
• React is a JS library for creating interactive Frontend for your Web Application. • React uses Virtual DOM which updates fast on changed then a Regular DOM.
How does MERN Stack work?
A User interacts with the Frontend/Client side of the application built using React.
The User click a button which requests a specific data.
This request is sent by the Client/Frontend to the Server/Backend in the form of a HTTP request.
The Server then analyzes the request. Depending on the nature and context of the request the Server interacts with MongoDB database. The Server can add, retrieve, update and delete data from the Database.
The Server interacts with the Database on behalf of the user. If the interaction is a success, the Server sends a response back with the requested data to the Client.
The Client then renders this data on the UI so that the User can read and interact with it.
Roadmap for MERN Stack Development
- Fundamentals of Web
- HTML
- CSS
- CSS Frameworks like Bootstrap and Tailwind
- JavaScript
- JavaScript ES6
- React
- Node
- Express
- MongoDB
- Git and GitHub
Resources for MERN stack
YouTube courses:
> Thank you for reading. ❤️