Snippets.

// Blog

All Articles

OpenClaw running on Cloudflare Workers

Feb 4, 2026

AI

Running OpenClaw Securely with Cloudflare Workers

Deploy OpenClaw AI agents on Cloudflare Workers for edge-level security, isolation, and global performance using Moltworker containers.

Custom MCP server in TypeScript

Feb 4, 2026

AI

Building a Custom MCP Server in TypeScript

Build a Model Context Protocol server from scratch in TypeScript. Connect AI agents to your own tools, APIs, and data sources with type safety.

Type-safe AI agents with Vercel AI SDK

Feb 4, 2026

AI

Type-Safe AI Agents with Vercel AI SDK

Build production-grade AI agents in TypeScript with structured outputs, tool calling, multi-step orchestration, and streaming using the Vercel AI SDK.

Plugin architecture in NestJS with dynamic modules

Apr 20, 2025

Architecture

Plugin Architecture in NestJS with Dynamic Modules

Build extensible systems with NestJS dynamic modules, custom decorators, and the discovery pattern. A real-world notification system example.

LangChain AI agent for email management

Apr 14, 2025

AI

AI Agent That Manages Your Emails And Calendar | LangChain

In today's fast-paced digital world, managing emails can be a time-consuming task. Whether it's responding to routine inquiries, drafting...

AI chatbot built with AWS Lex and RAG

Apr 14, 2025

AI

Building AI ChatBot using AWS Lex and RAG

Chatbots have come a long way, from simple rule-based responders to intelligent virtual assistants that can understand context, retrieve...

CQRS pattern in NestJS with Clean Architecture

Nov 22, 2024

Architecture

CQRS in NestJS with Clean Architecture

Separate your reads from your writes. Learn how to implement the CQRS pattern in NestJS using @nestjs/cqrs, mapped to Clean Architecture layers.

Transactional outbox pattern in NestJS

Nov 17, 2024

Architecture

The Transactional Outbox Pattern in NestJS

Solve the dual write problem. Learn how to reliably publish domain events using the Outbox Pattern with TypeORM transactions in NestJS.

Circuit breaker pattern in NestJS

Nov 14, 2024

Backend

Circuit Breaker with Opossum in NestJS

In modern applications, we often rely on external services, APIs, or databases. When these dependencies fail our entire system suffer....

Cleaning spaghetti code in Angular

Jan 16, 2023

Angular

Anti-Patterns 02 Cleaning the Spaghetti Code

Angular is a powerful framework, but it's not immune to the pitfalls of bad coding practices. Let's dive into one of the biggest...

Unit of Work pattern with NestJS and TypeORM

Dec 20, 2022

Backend

Unit Of Work Pattern with NestJS and TypeORM

When working with databases and complex business logic one of the main challenges is ensuring consistency when saving and updating data....

Clean Code

Nov 3, 2022

Angular

Angular Anti-Patterns 01 Cleaning the Stateful Services

Angular services that mix application logic with API calls can lead to maintenance and scaling challenges. Lets look at how to do it right.

JavaScript event loop explained

Oct 24, 2022

JavaScript

How does JS work? Event Loop

Understanding the JavaScript event loop is essential for any developer working with modern web technologies. Despite JavaScript's...

Domain events in NestJS

Sep 25, 2022

Architecture

Domain Events in NestJS with Simple Example

In the previous blog, we explored Domain-Driven Design (DDD) concepts, including Entities, Aggregates, Repositories, and Read Models....

Domain Driven Design concepts

Sep 22, 2022

Architecture

Domain Driven Design

As applications grow, managing business logic and maintaining scalability become difficult. Domain-Driven Design (DDD) helps solve this...

Aggregates in Domain-Driven Design

Sep 9, 2022

Architecture

Invariants and Aggregates in Domain-Driven Design

In Domain-Driven Design (DDD), aggregates are a key concept that help maintain the integrity. They act as boundaries, ensuring that...

React forms with react-hook-form and zod

Jun 15, 2022

React

React Forms with react-hook-form and Zod

Building production-grade forms in React with validation, accessibility, error handling, and good UX using react-hook-form and zod.

NestJS clean architecture folder structure

May 10, 2022

Architecture

Clean Architecture Application Structure In NestJS Framework

Clean Architecture is amazing, it keeps your code organized, flexible, and easy to maintain. But when it comes to NestJS, figuring out...

Clean architecture diagram

May 8, 2022

Architecture

Understanding Clean Architecture

Clean Architecture is a software design philosophy originally introduced by Robert C. Martin (Uncle Bob). It emphasizes organizing your...