Introduction

Developers today have many options available when it comes to building web services and other server-side applications. Node has become a popular choice, however many programmers prefer a more robust language than JavaScript, especially those coming from modern OOP languages like C#, C++, or Java (to name just a few). While TypeScript lends itself well to Node, the NestJS framework takes it to a whole new level, providing state-of-the-art tools for the modern server-side developer to build durable and high-performance applications using components, providers, modules, and other useful high-level abstracts.

In this article, we’ll examine the process of building a simple API server with NestJS, to handle a basic application scenario: creating, storing, and retrieving a list of products for a general store.

If you’d like a copy of the source code for this project, check it out here.