Skip to content

Node.js

How to properly containerize a Node.js application

Containerizing a Node.js application is easy, but doing it well is another story. To create images that are efficient, secure, and consistent across environments, you need to make the right choices in your build strategy, dependency management, and base image selection. In this article, I’ll walk you through practical tips to containerize your Node.js applications properly. Multi-stage build or not… 

Manage Feathers.js authentication in Swagger UI

In addition to my previous articles Add a UI to explore the Feathers.js API and Add authentication in a Feathers.js REST API, today, I will explain how to manage Feathers.js authentication in Swagger UI and make it simple for our users. After enabling authentication on API methods, as a result, using Swagger UI for testing is difficult, if not impossible.… 

Add authentication in a Feathers.js REST API

Following on from my previous articles: Create REST API from your database in minute with Feathers.js, and Add a UI to explore the Feathers.js API, today I want to add authentication in my Feathers.js REST API. Creation, update and delete operations will be authenticated, while read will remain public. First step: add authentication to my application I’m using the code… 

Add a UI to explore the Feathers.js API

Following on from my previous article: Create REST API from your database in minute with Feathers.js, today I want to add a UI to explore the Feathers.js API. When we provide an API, it’s common to make a tool available to explore the exposed methods.Swagger UI is one such tool, and fortunately, in the Feathers.js ecosystem, a package is available… 

Create REST API from your database in minute with Feathers.js

Creating REST APIs is a fairly repetitive task. You’re always rewriting the Create, Read, Update, Delete methods…In my search for a framework capable of generating a REST API, I discovered Feathers, a simple and useful framework for Node.js. In this article, we’ll show you how to create a REST API from a PostgreSQL database in just a few minutes. Introduction…