NestJS
7 posts in this category
NestJS Telegram Alerts: Exception Filter, Jobs, and Deploy
Telegram Bot API in NestJS: TelegramModule, exception filter for 5xx alerts, BullMQ job failures, and deploy hooks — no external libraries needed.
How to upgrade NestJS 7 to 11 with AI and fewer mistakes
A practical way to upgrade an old NestJS service with AI: move one major version at a time, isolate breaking changes, review git diffs, and avoid changing business logic.
NestJS LogicalException and internal error codes
Standardize NestJS logic errors with message codes, LogicalException, HttpException, and internal error codes for faster debugging.
Run NestJS in production with PM2 restart and logs
Use PM2 to run NestJS on a Linux server, build the app, start it with an ecosystem file, inspect logs, restart on crashes, and restore after reboot.
BullMQ Job stalled with ElastiCache while Redis is healthy
Why BullMQ timeout and Job stalled errors happen with AWS ElastiCache Redis, and how to fix worker and connection settings.
Redis queue in NestJS with BullMQ: how to implement it
Use Redis as a queue in NestJS with BullMQ, including producer-consumer flow, retries, delayed jobs, and production notes.
NestJS Redis disconnects: configure ioredis reconnect
How to configure ioredis in NestJS to reconnect safely when Redis disconnects, TCP idle timeouts happen, or ElastiCache failover returns READONLY.