How to easily send mails in NestJS?

Sending emails is a critical functionality in many applications, whether for user notifications, transactional updates, or marketing purposes. However, implementing email solutions can sometimes be cumbersome, as you have to integrate mailer with template language, check for dependencies… But! With the @nestixis/nestjs-mailer package, you can simplify this process while ensuring flexibility and reliability. This package leverages the power of React and Nodemailer, making it a modern and developer-friendly tool for building dynamic email templates and sending emails effortlessly. ...

January 5, 2025 · 3 min

Advantages of search databases

In the past, I often noticed a common approach where developers (including myself of course) used the same API for both reads and writes on every case. Even more so, we frequently relied on the same data source, such as MySQL/PostgreSQL, to handle both operations. This means writing to the same columns and reading from them, often leading to struggles with optimizing indexes on fields that were heavily queried. ...

January 4, 2025 · 4 min

Why You Should Start Profiling Your Application on Production

Let’s start with a common situation. You’ve just created a new application in node.js. The application uses some SQL database, redis for cache, Kafka as a broker, and many many other useful things. You are ready to deploy your masterpiece on production, so you choose your host provider, set up a domain, and finally - deploy the application. Everything works fine so far. But after a few days, you have calls and emails from your clients. The application has started to work slower and slower, you are taking a look at your infrastructure metrics and you catch memory and CPU spikes, but when you take a look at APM you see no usual spikes in requests, everything looks the same as yesterday. At this point, you are blind. ...

October 28, 2023 · 4 min