Deprecation Warnings in MongoDB's Node.js API

This article shows how to fix some of the deprecation warnings after updating to MongoDB 4 as well as using the MongoDB Node.js 3.x API.

Sharing a MongoDB connection in Node.js/Express

This article covers how to share a MongoDB database connection in a Node.js/Express application in the right way.

RESTful API Design - The basics


In this article, we'll take a look at some of the basics of REST APIs and design such APIs, in the context of Node.js and Express.

res.json() vs res.send() vs res.end() in Express

In this article we are discussing the differences between the json(), send() and end() methods available as part of Express response object.

Introduction to GraphQL

In this article, we'll take a look at GraphQL and go through a basic example while exploring why it's a great supplement for REST APIs.

How to find the version of an installed npm package?

In this article we are reviewing three ways to get the version numbers of local or global npm packages installed.

How to read environment variables in Node.js?

Storing secrets, usernames and passwords can be done in Node.js via environment variables. We'll take a look at how to manage these in this article.

"Unexpected Token Export" error

When trying to utilise the ES2015 export/import statements (aka ES2015 module syntax) in Node.js we are presented with the "Unexpected Token Export" error. There's a reason why this error appears and in this article we'll investigate why this is happening.

How do you extract POST data in Node.js?

Often times when working with Node.js based web applications we are faced with an option to handle data sent from a form. In this article we'll take a look at how to extract POST data in Node.js

Async/await in Node.js

async/await is a great way to create asynchronous code and Node.js now supports these operators out of the box.