NodeJs Posts

Blog card feature

API Versioning with NodeJs and Express

Why do we need API Versioning? For a simple API, being able to create separate versions may not be necessary. However, for larger API's with…

Blog card feature

Creating a Realtime Chat with NodeJs, Express and Socket.io

A few years ago I was tasked with building a mobile app (which happened to be my first). Part of this app's requirements was to have private…

Blog card feature

How to Setup Scheduled Functions with NodeJs, Express and Node-Cron

Create a NodeJs application - npm init - npm i express Setup the express server - Create the app.js file (or server.js is you prefer) Add…

Blog card feature

How to use Environment Variables in NodeJs with Express and Dotenv

NodeJs Environment Variables Environment variables in NodeJs are essential for setting configuration options as well as storing important…

Blog card feature

Returning JSON objects from an Azure Function in Node.js & Typescript

By default, a new Javascript/Typescript function created in an Azure functions app stringifies any data the function returns in the context…