Micael Levi L. C.

Micael Levi L. C. @micalevisk

About: just run $ npx @micalevisk/card

Location:
Brazil
Joined:
Sep 8, 2018

Micael Levi L. C.
articles - 14 total

NestJS tip: how to run operations when the HTTP server is ready

Let's say you want to perform few tasks right after your HTTP server is ready to handle connections....

Learn More 6 1Nov 15 '24

NestJS tip: how to attach decorators to all controllers at once

What In the official NestJS integration with OpenAPI (formerly Swagger) @nestjs/swagger we...

Learn More 7 2Sep 29 '24

NestJS tip: how to use Node.js built-in .env file reader with NestJS CLI

Starting from Node.js v20.6.0 you can read dot env files into the process.env object using the...

Learn More 3 0May 14 '24

NestJS tip: how to change HTTP server timeouts

What If you don't know what those HTTP timeouts are, I recommend you to read the following...

Learn More 23 2Apr 7 '24

NestJS tip: how to inject the native logger as any other provider

for NestJS v8, v9, v10, v11 Why? The Logger class from @nestjs/common is not a built-in...

Learn More 5 2Jan 1 '24

NestJS tip: how to inject multiple versions of the same provider into one module (e.g.: many Axios instances)

for NestJS v8, v9, v10, v11 What? Let's say you want to use multiple "versions" of the...

Learn More 27 7Jul 9 '23

NestJS tip: fine-grained exception filtering for the same exception class!

for NestJS v8, v9, v10, v11 What We can now have multiple exception filters for the...

Learn More 7 0Jun 17 '23

NestJS tip: how to disable initialization logging

for NestJS v8, v9, v10, v11 For big NestJS apps we might see a bunch of initialization logs like...

Learn More 3 0Jun 9 '23

NestJS tip: type safety on parameter decorators

for NestJS v8, v9, v10, v11 In NestJS we can create specialized kind of parameters decorators...

Learn More 5 4May 20 '23

Enable/disable NestJS devtools integration without changing your code!

Don't know what NestJS Devtools is? check this out: Introduction to NestJS Devtools with Kamil...

Learn More 4 2Mar 11 '23

NestJS tip: multi-value providers almost like `multi` from Angular

for NestJS v8, v9, v10, v11 You can see and play with the full code here. Angular's dependency...

Learn More 2 5Feb 5 '23

NestJS tip: how to always use your custom logger

TL;DR for NestJS v8, v9, v10, v11 Since we always want to use our own logger instead of...

Learn More 6 0Jan 15 '23

5 steps to create a bare minimum NestJS app from scratch!

Let's say you want to create a new NestJS standard application from scratch but taking the full...

Learn More 191 2Dec 11 '22

NestJS tip: platform-agnostic way to define response status/headers

TL;DR for NestJS v8, v9 and v10, v11 If you want to change the default status code...

Learn More 8 9Nov 20 '22