Best of freeCodeCampJune 2025

  1. 1
    Article
    Avatar of freecodecampfreeCodeCamp·48w

    The Micro-Frontend Architecture Handbook

    A comprehensive guide covering four main approaches to micro frontend architecture: iframes with cross-window messaging, Web Components with Shadow DOM, single-spa for orchestrating multiple SPAs, and Module Federation for runtime code sharing. Each method is explained with practical code examples, pros/cons analysis, and real-world use cases. The guide also covers additional tools like Piral, Luigi, and Import Maps, helping developers choose the right approach based on team structure, technical requirements, and deployment needs.

  2. 2
    Article
    Avatar of freecodecampfreeCodeCamp·48w

    The Front-End Monitoring Handbook: Track Performance, Errors, and User Behavior

    A comprehensive guide to building a frontend monitoring SDK from scratch, covering three main areas: performance monitoring (Core Web Vitals like FCP, LCP, CLS, plus API timing and resource loading), error tracking (JavaScript errors, Promise rejections, resource failures), and user behavior analytics (page views, scroll depth, click tracking). The tutorial provides practical code examples for implementing data collection using browser APIs like PerformanceObserver, MutationObserver, and various event listeners, along with reporting mechanisms and optimization techniques for production environments.

  3. 3
    Article
    Avatar of freecodecampfreeCodeCamp·47w

    How Attackers Steal Data from Websites (And How to Stop Them)

    Web attackers use various methods to steal data including phishing emails, SQL injection, cross-site scripting (XSS), brute force password attacks, malware, man-in-the-middle attacks, outdated software exploitation, and insecure API integrations. Defense strategies include user education, multi-factor authentication, input validation, HTTPS implementation, regular software updates, secure coding practices, and proper API security. The stolen data often ends up on the dark web where it's sold for identity theft and further attacks.

  4. 4
    Article
    Avatar of freecodecampfreeCodeCamp·47w

    The NestJS Handbook – Learn to Use Nest with Code Examples

    NestJS is a progressive Node.js framework that combines object-oriented, functional, and reactive programming paradigms to build scalable server-side applications. Built on top of Express or Fastify, it provides a structured architecture using modules, controllers, and providers with built-in dependency injection. The framework offers TypeScript-first development, decorators for routing and validation, middleware support, guards for authorization, exception filters for error handling, and interceptors for response transformation. It includes comprehensive database integration options with TypeORM, Mongoose, and Prisma, along with built-in testing capabilities and CLI tools for code generation.

  5. 5
    Article
    Avatar of freecodecampfreeCodeCamp·48w

    The Open Source LLM Agent Handbook: How to Automate Complex Tasks with LangGraph and CrewAI

    LLM agents are proactive AI systems that can break down complex tasks, make decisions, and use tools autonomously, unlike traditional reactive chatbots. The guide demonstrates building agents using open-source frameworks LangGraph and CrewAI to automate daily tasks like email summarization and schedule generation. LangGraph provides graph-based workflows for single agents, while CrewAI enables multi-agent collaboration with specialized roles. The tutorial includes practical code examples for creating an email processing agent that extracts meetings and deadlines, then formats them into organized daily schedules. Both frameworks integrate with OpenAI's models and offer structured approaches to agent development without requiring extensive custom code.

  6. 6
    Article
    Avatar of freecodecampfreeCodeCamp·46w

    How to Work with Queues in TypeScript

    A comprehensive guide to implementing different types of queues in TypeScript using circular doubly linked lists. Covers simple queues, circular queues, double-ended queues (deque), and priority queues with complete code implementations. Explains FIFO principles, queue operations like enqueue/dequeue, and provides practical examples with test cases. Also discusses when to use queues versus other data structures and potential pitfalls in production systems.

  7. 7
    Article
    Avatar of freecodecampfreeCodeCamp·46w

    How to Build a Conversational AI Chatbot with Stream Chat and React

    A comprehensive guide to building a conversational AI chatbot that combines Stream Chat for real-time messaging with Web Speech API for voice input. The tutorial covers backend setup with Node.js and Express, frontend implementation with React and TypeScript, and integration of speech-to-text functionality. Key features include AI agent management, real-time transcription, microphone permission handling, and seamless voice-to-text message submission.

  8. 8
    Article
    Avatar of freecodecampfreeCodeCamp·48w

    From Commit to Production: Hands-On GitOps Promotion with GitHub Actions, Argo CD, Helm, and Kargo

    A comprehensive guide to building a production-ready CI/CD pipeline using GitOps principles with GitHub Actions, ArgoCD, Helm, and Kargo. The tutorial demonstrates how to structure repositories for microservices, implement automated environment promotions, and manage multi-stage deployments using the Craftista e-commerce application as a real-world example. It covers semantic versioning, polyrepo architecture, and automated promotion workflows from development through production environments.

  9. 9
    Article
    Avatar of freecodecampfreeCodeCamp·46w

    How to Debug CI/CD Pipelines: A Handbook on Troubleshooting with Observability Tools

    A comprehensive guide to implementing observability in CI/CD pipelines using free and open-source tools. Covers setting up Grafana Loki and lightweight ELK stacks for log aggregation, creating unified logging strategies with correlation IDs, writing advanced LogQL and KQL queries for troubleshooting, integrating Prometheus metrics with logs, and building Grafana dashboards. Includes practical examples for debugging common pipeline failures like build errors, dependency issues, and flaky tests across GitHub Actions, Jenkins, and GitLab.

  10. 10
    Article
    Avatar of freecodecampfreeCodeCamp·45w

    Kubernetes Networking Tutorial: A Guide for Developers

    Kubernetes networking enables containerized workloads to communicate through a flat network model where each pod gets a unique IP address without NAT. The tutorial covers core concepts including CNI plugins (Flannel, Calico, Cilium), kube-proxy for service load balancing, CoreDNS for service discovery, and network policies for security. It explains pod-to-pod, pod-to-service, and external-to-service communication patterns, along with practical troubleshooting techniques for common networking issues like unreachable pods and services.

  11. 11
    Article
    Avatar of freecodecampfreeCodeCamp·46w

    freeCodeCamp Full Stack Curriculum Mid-2025 Update

    freeCodeCamp has released new sections of their full stack curriculum including React Hooks and State, Performance, and Testing modules. The update includes 50 lecture videos, workshops, labs, and projects like a Tic Tac Toe game and color picker. Upcoming content will focus on CSS Libraries, TypeScript, and Python modules with projects including an RPG character builder and trading card game. Exams are still in development with a custom testing environment being built.