Skip to main content

Basics

In Basics of express js, I covered what is Node, Prerequisites, Installation, Hello World, Routing, Middleware, Debugging, Logging, and Security.

📄️Node JS

Node.js is an open-source and cross-platform runtime environment for executing JavaScript code outside a browser, and it enables you to use the Javascript server side. This now means you could have consistent language on both ends which could not be done prior to Node. You need to remember that NodeJS is neither a framework nor a programming language. Most people are confused and understand it's a framework or a programming language. We often use Node.js for building back-end services like APIs.

📄️Backend vs Frontend vs API

The backend is the server side of a web application. It is responsible for storing and retrieving data from a database, processing user requests, and generating dynamic web pages. API is an interface that allows different applications to communicate with each other. It is a set of rules that allow programs to communicate with each other over the Internet. Frontend is the part of the site that users see and interact with, so it needs to be designed and developed in a way that is intuitive, user-friendly, and aesthetically pleasing.