Node.js Environment Variables

Node.JS environment variables are values unique to the environment in which the program runs. They are helpful for storing sensitive information such as database credentials, API keys, and other application configuration parameters that should not be hard-coded. This post will go through using environment variables in a Node.js application. Accessing Environment Variables Environment variables are …

Node.js Environment Variables Read More »

OAuth2.0 Authentication with Node JS and PassportJS

There are a lot of authentication methods for web applications and one of them is passport js. It allows you to use Google to authenticate your Node.js applications. Google authentication may be simply and unobtrusively implemented into any application. Passportjs is a popular choice for frameworks supporting Connect-style middleware. Hence, it is widely used with …

OAuth2.0 Authentication with Node JS and PassportJS Read More »

Authentication API with JWT Token in Node.js Part 1

In this tutorial, we’ll learn how to build authentication API with jwt token in node js to secure endpoints and even authenticate users. Writing code and developing applications is quite simple, but security is always a concern when it comes to efficient apps. So, without wasting much time, let’s start together. What is Authentication and …

Authentication API with JWT Token in Node.js Part 1 Read More »

Scroll to Top