Posts by Year

2026

Talking to other services : RabbitMQ in Danet

4 min read

Last time we ended on a promise : the day a second service, quite possibly not written in TypeScript, needs to consume your messages, you want a real broker. Today we plug one in.

gRPC controllers in Danet

4 min read

A new package turns a Danet controller into a real gRPC service : same injector, same guards, same exception filters, its own port.

Rate limiting in Danet

3 min read

Your API is public, and someone is going to hammer your login route until something gives. Ten requests a minute, one guard, one gotcha : ttl is in milliseconds.

Back to Top ↑

2025

Deploying a Danet app to Deno Deploy

3 min read

Your API runs on your machine. Today we put it on the internet : one command first, then a GitHub Action so you never type it again.

Getting the most out of Danet’s injector

5 min read

Every article on this blog has done the same thing without explaining it : put a class in injectables, ask for it in a constructor, get an instance. Today we open that box.

Cron jobs and queues in Danet

5 min read

Every API eventually needs two more things : something that runs at 3am, and something that runs later. Deno ships both natively, Danet puts a decorator on them.

Pushing updates with Server-Sent Events

3 min read

A WebSocket is a phone call. Sometimes all you need is a newsletter. Danet does Server-Sent Events with one decorator.

WebSockets in Danet

3 min read

Same controllers, same dependency injection, same guards, same port. Only the transport changes.

Back to Top ↑

2024

Use Postgres in Deno with Danet

4 min read

Get ready to use Postgres in Danet in few minutes ! This one is the odd cousin of the database family, and that makes it a great excuse to learn custom injectables.

Use MongoDB in Deno with Danet

2 min read

Get ready to use MongoDB in Danet in few minutes ! Spoiler, you have a lot less code to write than you used to.

Body validation in Danet, two ways

3 min read

Welcome ! Last time, we saw how to build a REST API in Deno using Danet V2. Today, we will add Body validation to it. In V2, you have two ways of doing it.

How to build an API in Deno with Danet (V2)

10 min read

Welcome, take a seat, and keep your keyboard at hand because today we are building a REST API in Deno using Danet V2. In the end, we’ll also show you how to handle authentication.

Back to Top ↑

2022

Body validation in Danet

1 min read

Welcome ! Last time, we saw how to create a REST API in Deno using Danet. Today, we will add Body validation to it.

How to build an API in Deno with Danet

6 min read

Welcome, take a seat, and keep your keyboard at hand because today we are building a REST API in Deno using Danet. In the end, we’ll also show you how to handle authentication.

Back to Top ↑