Pedro Alonso

The Guide Library

A curated collection of production-ready technical guides. Use the filters to find exactly what you need.

Start Here: Most Popular

Filter by Category

10 min read

LangChain Evolution Part 3: Production-Ready Agentic Systems

With a dynamic graph in place, we now focus on making our agent robust, scalable, and ready for production. This post covers persistence, multi-agent collaboration, and advanced error handling.

10 min read

LangChain Evolution Part 2: From Hardcoded Workflows to Dynamic Graphs

In Part 1, we replaced a monolithic prompt with a stateful agent. Now, we're taking the next step: evolving our agent's hardcoded logic into a flexible, scalable, and truly autonomous graph with LangGraph.

7 min read

LangChain Evolution Part 1: From Monolithic Prompts to Intelligent Agents

Learn how to migrate from a fragile, monolithic prompt to a maintainable, intelligent agent architecture using specialized tools, state management, and human-in-the-loop patterns with LangChain.

11 min read

Building Your AI-Powered Sales Engine Part 2: From Lead Generation to Client Acquisition

Technical deep dive into automating client acquisition with AI agents - complete code for lead generation, cold email personalization, and scaling your automation business

21 min read

AI Automation Business for Developers - Part 1

How developers can dominate the automation market by building AI agents they'd actually use - and turning them into profitable services

9 min read

Real-Time Notifications with Server-Sent Events (SSE) in Next.js

Learn how to implement real-time server-to-client updates using Server-Sent Events in Next.js - a simpler alternative to WebSockets for one-way data streaming

12 min read

Stripe Payment Links and Customer Portal in Next.js 15

Learn how to implement Stripe Payment Links and Customer Portal in Next.js 15 for the easiest payment integration with self-service customer management

13 min read

Stripe + Next.js 15: The Complete 2025 Guide

Build production-ready payment systems with Stripe and Next.js 15 using Server Actions - from one-time payments to subscriptions and credit systems

12 min read
Redis Queues and Pub/Sub in Next.js - A Practical Guide

Redis Queues and Pub/Sub in Next.js - A Practical Guide

Learn how to use Redis lists, queues, and pub/sub patterns in Next.js for real-time features and background processing

7 min read

WebSockets with Next.js Part 4: Going Native - Ditching Socket.IO

Learn how to implement WebSockets with Next.js using native WebSocket APIs instead of Socket.IO - better performance, zero dependencies, and full control

8 min read
Implementing Pre-paid Usage Billing with Next.js and Stripe

Implementing Pre-paid Usage Billing with Next.js and Stripe

Learn about Implementing Pre-paid Usage Billing with Next.js and Stripe

7 min read
Dokku Migrations: Introducing the Open Source Dokku Migration Tool

Dokku Migrations: Introducing the Open Source Dokku Migration Tool

Learn about Dokku Migrations: Introducing the Open Source Dokku Migration Tool

7 min read
The AI Revolution: Understanding Today's Capabilities and What They Mean for Tomorrow

The AI Revolution: Understanding Today's Capabilities and What They Mean for Tomorrow

Learn about The AI Revolution: Understanding Today's Capabilities and What They Mean for Tomorrow

7 min read
Building Practical AI Agents: From Tools to Workflows

Building Practical AI Agents: From Tools to Workflows

Learn about Building Practical AI Agents: From Tools to Workflows

6 min read
Extending LLM Capabilities with Custom Tools: Beyond the Knowledge Cutoff

Extending LLM Capabilities with Custom Tools: Beyond the Knowledge Cutoff

Learn about Extending LLM Capabilities with Custom Tools: Beyond the Knowledge Cutoff

10 min read
Building a Self-Healing LLM JSON Processor with Zod and Ollama (Deepseek 8b)

Building a Self-Healing LLM JSON Processor with Zod and Ollama (Deepseek 8b)

Learn about Building a Self-Healing LLM JSON Processor with Zod and Ollama (Deepseek 8b)

6 min read
Background Processing in Next.js Part 1

Background Processing in Next.js Part 1

Learn about Background Processing in Next.js Part 1

7 min read
Advanced Background Processing in Next.js Part 2

Advanced Background Processing in Next.js Part 2

Learn about Advanced Background Processing in Next.js Part 2

8 min read
RAG Systems Deep Dive Part 3: Advanced Features and Performance Optimization

RAG Systems Deep Dive Part 3: Advanced Features and Performance Optimization

Learn about RAG Systems Deep Dive Part 3: Advanced Features and Performance Optimization

6 min read
RAG Systems Deep Dive Part 2: Practical Implementation with LangChain

RAG Systems Deep Dive Part 2: Practical Implementation with LangChain

Learn about RAG Systems Deep Dive Part 2: Practical Implementation with LangChain

4 min read
Next.js APIs with tRPC: A Developer's Guide to End-to-End Type Safety

Next.js APIs with tRPC: A Developer's Guide to End-to-End Type Safety

Learn about Next.js APIs with tRPC: A Developer's Guide to End-to-End Type Safety

8 min read
RAG Systems Deep Dive Part 1: Core Concepts and Architecture

RAG Systems Deep Dive Part 1: Core Concepts and Architecture

Learn about RAG Systems Deep Dive Part 1: Core Concepts and Architecture

6 min read
Stripe Webhooks: Solving Race Conditions and Building a Robust Credit Management System

Stripe Webhooks: Solving Race Conditions and Building a Robust Credit Management System

Learn about Stripe Webhooks: Solving Race Conditions and Building a Robust Credit Management System

6 min read
Intro to Ollama: Your Personal AI Model Tool

Intro to Ollama: Your Personal AI Model Tool

Learn about Intro to Ollama: Your Personal AI Model Tool

6 min read
Security Best Practices: Learning from Real-World Incidents

Security Best Practices: Learning from Real-World Incidents

Learn about Security Best Practices: Learning from Real-World Incidents

12 min read
Local AI Assistance with Continue and Ollama for VS Code

Local AI Assistance with Continue and Ollama for VS Code

Learn about Local AI Assistance with Continue and Ollama for VS Code

14 min read
Stripe Subscriptions in a Next.js Application

Stripe Subscriptions in a Next.js Application

Learn about Stripe Subscriptions in a Next.js Application

14 min read
LLM Prompting Techniques for Developers

LLM Prompting Techniques for Developers

Learn about LLM Prompting Techniques for Developers

9 min read
WebSockets with Next.js Part 3: Advanced Concepts and Best Practices

WebSockets with Next.js Part 3: Advanced Concepts and Best Practices

Learn about WebSockets with Next.js Part 3: Advanced Concepts and Best Practices

5 min read
Asynchronous JavaScript: Promises, Async/Await, and Error Handling

Asynchronous JavaScript: Promises, Async/Await, and Error Handling

Learn about Asynchronous JavaScript: Promises, Async/Await, and Error Handling

7 min read
From Idea to MVP: Building FastForward IQ with Next.js

From Idea to MVP: Building FastForward IQ with Next.js

Learn about From Idea to MVP: Building FastForward IQ with Next.js

12 min read
WebSockets with Next.js Part 2: Real-Time Chat

WebSockets with Next.js Part 2: Real-Time Chat

Learn about WebSockets with Next.js Part 2: Real-Time Chat

6 min read
Zustand: Simplifying State Management in React E-commerce Applications

Zustand: Simplifying State Management in React E-commerce Applications

Learn about Zustand: Simplifying State Management in React E-commerce Applications

11 min read
WebSockets with Next.js Part 1: Basics and Setup

WebSockets with Next.js Part 1: Basics and Setup

Learn about WebSockets with Next.js Part 1: Basics and Setup

13 min read
Advanced Search Techniques with pgvector and Geospatial Search

Advanced Search Techniques with pgvector and Geospatial Search

Learn about Advanced Search Techniques with pgvector and Geospatial Search

11 min read
Full-Text Search with PostgreSQL and Prisma

Full-Text Search with PostgreSQL and Prisma

Learn about Full-Text Search with PostgreSQL and Prisma

15 min read
Deploying Nextjs on Your Own VPS using Dokku

Deploying Nextjs on Your Own VPS using Dokku

Learn about Deploying Nextjs on Your Own VPS using Dokku

4 min read
Smart Login in Next.js with NextAuth.js

Smart Login in Next.js with NextAuth.js

Learn about Smart Login in Next.js with NextAuth.js

19 min read
Authentication in Next.js 14 with NextAuth.js

Authentication in Next.js 14 with NextAuth.js

Learn about Authentication in Next.js 14 with NextAuth.js

9 min read
Building a Shopping Cart with React and Local Storage

Building a Shopping Cart with React and Local Storage

Learn about Building a Shopping Cart with React and Local Storage

7 min read
Mastering JavaScript Array Methods: Map, Filter, Reduce, and More

Mastering JavaScript Array Methods: Map, Filter, Reduce, and More

Learn about Mastering JavaScript Array Methods: Map, Filter, Reduce, and More

14 min read
Stripe Checkout and Webhook in a Next.js Application

Stripe Checkout and Webhook in a Next.js Application

Learn about Stripe Checkout and Webhook in a Next.js Application

6 min read
A Year of Learning Generative AI: A Software Engineer''s Journey

A Year of Learning Generative AI: A Software Engineer''s Journey

Learn about A Year of Learning Generative AI: A Software Engineer''s Journey

6 min read
Test-Driven Development (TDD) with Node.js and Jest

Test-Driven Development (TDD) with Node.js and Jest

Learn about Test-Driven Development (TDD) with Node.js and Jest

10 min read
Node.js Security 101: Protecting Your Application from Common Web Attacks

Node.js Security 101: Protecting Your Application from Common Web Attacks

Learn about Node.js Security 101: Protecting Your Application from Common Web Attacks

10 min read
Terraform AWS EC2 Instances or Spot Instances For Development

Terraform AWS EC2 Instances or Spot Instances For Development

Learn about Terraform AWS EC2 Instances or Spot Instances For Development

9 min read
A Beginner's Guide to Docker Containers and Images

A Beginner's Guide to Docker Containers and Images

Learn about A Beginner's Guide to Docker Containers and Images

12 min read
WordPress, Ghost and NodeJs on your own PAAS with CapRover ($5/month)

WordPress, Ghost and NodeJs on your own PAAS with CapRover ($5/month)

Learn about WordPress, Ghost and NodeJs on your own PAAS with CapRover ($5/month)

9 min read
Deploying Ruby on Rails 7 on Your Own Heroku, Using Dokku

Deploying Ruby on Rails 7 on Your Own Heroku, Using Dokku

Learn about Deploying Ruby on Rails 7 on Your Own Heroku, Using Dokku

14 min read
Hosting NodeJs Apps on Your Own Heroku, Using Dokku

Hosting NodeJs Apps on Your Own Heroku, Using Dokku

Learn about Hosting NodeJs Apps on Your Own Heroku, Using Dokku

13 min read
How to Build an Online Store with WordPress & WooCommerce

How to Build an Online Store with WordPress & WooCommerce

Learn about How to Build an Online Store with WordPress & WooCommerce

12 min read
Professional WordPress Setup in AWS Lightsail From $6 per Month

Professional WordPress Setup in AWS Lightsail From $6 per Month

Learn about Professional WordPress Setup in AWS Lightsail From $6 per Month

9 min read
How to Set Up a Ghost Blog in AWS including a CDN ($6/month)

How to Set Up a Ghost Blog in AWS including a CDN ($6/month)

Learn about How to Set Up a Ghost Blog in AWS including a CDN ($6/month)

6 min read
Automate Rails 6.1 Provision and Deployment on Ubuntu 20.04 using Ansible

Automate Rails 6.1 Provision and Deployment on Ubuntu 20.04 using Ansible

Learn about Automate Rails 6.1 Provision and Deployment on Ubuntu 20.04 using Ansible

9 min read
Automate the Deployment of PostgreSQL to EC2 ARM Using Terraform

Automate the Deployment of PostgreSQL to EC2 ARM Using Terraform

Learn about Automate the Deployment of PostgreSQL to EC2 ARM Using Terraform

6 min read
Hosting PostgreSQL on a t4g Graviton2 ARM Instance on AWS EC2

Hosting PostgreSQL on a t4g Graviton2 ARM Instance on AWS EC2

Learn about Hosting PostgreSQL on a t4g Graviton2 ARM Instance on AWS EC2