06 Sep, 2024

Zero to Hero – Node.js (part -6) – Secure REST APIs via JWT

In the previous blog, we worked on exposing CRUD operations via REST APIs. But, there was something missing, something very important. YES!!!, you got it right. I’m talking about Security. We don’t have any mean of authentication and security. Traditionally, developers use method like cookies and sessions with user authentication. But still, that is not […]

10 mins read

Zero to Hero – Node.js (part -5) – REST APIs

In last blog, we understood about connecting MongoDB with our Node.js app. In this blog, we are going to expose our DB CRUD operation as REST APIs. Please go through previous blog where we talk about having connection with MongoDB. Before diving-in, let’s first talk about some common terminology: REST API: It is a web […]

14 mins read

Zero to Hero – Node.js (part -4) – DB Connection

In previous article, we learn about using Express JS framework in Node.js. Today, we will learn about connecting Node.js application with MongoDB. We will talk about the MongoDB ODM library mongoose and learn how to connect node.js with the MongoDB using the Mongoose ODM library. Before diving into this, let’s go through some basic terminology […]

8 mins read

Zero to Hero - Node.js (Part -3) - Frameworks

In last 2 articles, we learn about basics of Node.js and creating a small server application to send back HTML response. Till now, It was all fine. But creating application like this will be messy. It’s like building home without having architectural diagram of what we are building and what’re our helping tools. In same […]

9 mins read

Zero to Hero — Node.js (Part — 1)

Node.js — free and open source cross-platform JavaScript framework for server side. Today, thousands of developers use it to develop various applications. In this article, we will gain a basic understanding of nodejs. We will also learn how to develop small applications in Node.js. But before that, let’s first look into some of its aspects. It uses […]

5 mins read