© 2023 Hashnode
#express
This article is all about structuring your new project when you are building a NodeJS application. It will guide you through, how you can follow best practices. Hey folks, Let’s discuss the underrated topic “Project Structure”. NodeJS has …
If you have always wondered how apps like google photos backup your media even when the app is in terminated mode (you have not opened the app). My first guess was that they must run it in the background through workmanager (android). But t…
Most of us know what is web development, the difference and similarities between one and the other tech stacks, the famous words like "frontend", "backend", "database" etc, and how to learn it followi…
Introduction What is Express? Express is a framework of Node.js, which means it is used to handle the backend of a web application, but it has more features than Node.js as it is built on top of it. e…
Whenever we pass any kind of data from the client to the server or in our case from our NodeJS to REST-API, there will be a need to parse the contents of what is incoming as a request. For example, we…
Moving forward in our web development journey, we're now shifting our focus to the back-end, the behind-the-scenes powerhouse that drives our website. We'll be using Node.js and Express to build our s…
What's a REST API? REST stands for "REpresentational State Transfer". Whenever a client wants to connect to the server, the client can do so with the help of these REST endpoints which are given by th…
As we build complex web applications with an increasing number of routes and endpoints, managing request validation becomes a critical aspect of the API design. In Node.js applications, employing a cl…
Suppose I got some data to be displayed. I want to populate that data onto the HTML page. So, a template engine is the one which will help us achieve that goal. Similarly, as we do Interpolation in An…
In the previous article, we saw what advantages ExpressJS offers as compared to the normal approach while serving. In the normal approach, we need to explicitly check everything in the controller but …