Entroblog - Powered by Entrostat

Cool Typescript features I've learnt over the years

We've used Typescript in a lot of projects and over time I've kept track of a few things I think are cool.

Creating a config in NestJS using a barrel file

An alternative method to set up a config in NestJS which enables IDE auto-completion.

Packaging NestJS Modules for NPM Installs

Create and package NestJS modules and push them to the npm registry. Now you can npm install them anywhere and start using them straight away!

Setting up a Database Module in Nest.js

There were a couple of mistakes that I made when setting up a Nestjs database module. Hopefully this will help you avoid the same errors!

Entroblog - Powered by Entrostat © 2026