Best of freeCodeCampApril 2025

  1. 1
    Article
    Avatar of freecodecampfreeCodeCamp·1y

    How to Harden Your Node.js APIs – Security Best Practices

    Learn how to enhance the security of your Node.js APIs with practical tips focusing on using environment variables, input validation, rate limiting, enforcing HTTPS, securing HTTP headers with Helmet, data sanitization, and strong authentication and authorization methods. These measures aim to protect against SQL injection, brute force attacks, and data leaks, among other threats.

  2. 2
    Article
    Avatar of freecodecampfreeCodeCamp·1y

    How to Build RAG AI Agents with TypeScript

    Learn how to build a Retrieval-Augmented Generation (RAG) AI agent using TypeScript and Langbase SDK. This comprehensive tutorial covers setting up your project, creating AI memory for storing and retrieving context, uploading documents, adding API keys, and generating responses using LLMs like OpenAI. By the end, you'll have a context-aware AI agent capable of handling complex tasks and queries with precision.

  3. 3
    Article
    Avatar of freecodecampfreeCodeCamp·1y

    Essential Machine Learning Concepts Animated

    Understanding AI and machine learning is essential for developers. This visually engaging course on freeCodeCamp.org's YouTube channel by Vladimirs from Turing Time Machine simplifies over 100 core ML and AI concepts with animations and real-world analogies. It covers foundational terms, statistical methods, optimization techniques, evaluation metrics, various model types, practical workflow elements, and related disciplines like NLP and object detection.

  4. 4
    Article
    Avatar of freecodecampfreeCodeCamp·1y

    How to Use Lazygit to Improve Your Git Workflow

    Lazygit is an open-source command-line UI tool that simplifies Git commands with a user-friendly interface and keyboard shortcuts. It allows users to manage Git operations like commit, push, pull, create, and delete branches efficiently. The post provides a tutorial on installing Lazygit on various operating systems, an overview of its UI and panels, essential shortcuts, and a guide to common Git operations using Lazygit.

  5. 5
    Article
    Avatar of freecodecampfreeCodeCamp·1y

    How to Deploy a Node.js Application on AWS

    Learn to deploy a Node.js/Express application on AWS using an EC2 instance. The guide covers prerequisites such as having an AWS account and knowledge of Node.js, Express, and Linux commands. It details setting up an EC2 instance, installing necessary packages, deploying the application, and configuring security settings. The tutorial also includes steps to use Caddy as a reverse proxy to simplify access to the deployed app.

  6. 6
    Article
    Avatar of freecodecampfreeCodeCamp·1y

    How to Build a Team of AI Agents for Your Website for Free Using Agno and Groq

    Learn how to integrate a team of AI agents into your website for free using Agno and Groq. The tutorial walks through setting up a portfolio website that includes AI agents to handle customer inquiries, create content, analyze user behavior, and provide personalized experiences. This setup can automate part of your business, improving efficiency and engagement without requiring extensive technical expertise or a large budget.

  7. 7
    Article
    Avatar of freecodecampfreeCodeCamp·1y

    How to Automate CI/CD with GitHub Actions and Streamline Your Workflow

    Learn how to automate your CI/CD process using GitHub Actions. Discover the key concepts, such as events, jobs, tasks, runners, and workflows, and follow a step-by-step guide to build an example pipeline for deploying a simple website. Understand how GitHub Actions can streamline your development workflow, from building and testing to deploying code changes automatically.

  8. 8
    Article
    Avatar of freecodecampfreeCodeCamp·1y

    How to Build a Production-Ready DevOps Pipeline with Free Tools

    Learn how to build a production-ready DevOps pipeline using free tools, featuring GitHub Actions for CI/CD, Terraform for infrastructure setup, Docker optimization techniques, K3d for Kubernetes, and various monitoring and security solutions. This guide is ideal for small projects, offering a step-by-step walkthrough of creating, testing, deploying, and securing applications efficiently without spending money.

  9. 9
    Article
    Avatar of freecodecampfreeCodeCamp·1y

    The Serverless Architecture Handbook: How to Publish a Node Js Docker Image to AWS ECR and Deploy the Container to AWS Lambda

    Learn how to deploy a Node.js application using a serverless architecture with AWS Lambda and Docker. The detailed guide covers cloning your repository, building a Docker image, pushing the image to AWS ECR, and deploying the container to AWS Lambda. Additionally, it explains serverless advantages, differences between deployment models, and practical use cases.

  10. 10
    Article
    Avatar of freecodecampfreeCodeCamp·1y

    How to Build Autonomous Agents using Prompt Chaining with AI Primitives (No Frameworks)

    Autonomous agents are AI systems capable of making decisions and taking actions independently using large language models (LLMs), tools, and memory. This tutorial emphasizes building these agents using AI primitives without relying on heavy frameworks. By leveraging Langbase’s agentic architecture called prompt chaining, tasks are segmented into sequential prompts, enhancing the ease of debugging and output quality. It walks through setting up a TypeScript Project with Langbase SDK to create a prompt chaining agent for transforming raw product descriptions into refined marketing copy.

  11. 11
    Article
    Avatar of freecodecampfreeCodeCamp·1y

    Fetch API vs. Axios vs. Alova: Which HTTP Client Should You Use in 2025?

    Developers traditionally used callback-based HTTP requests, but with the introduction of the Fetch API, Axios, and Alova, managing API calls has evolved significantly. Fetch API, built into JavaScript, offers promise-based requests and is lightweight. Axios, built on top of XHP, automates many tasks like JSON parsing and error handling, has built-in interceptors, and simplifies requests, making it ideal for complex projects. Alova, introduced in 2022, incorporates additional functionalities like state management, caching, and request merging, offering an all-in-one solution for managing API interactions. Each tool has its strengths, making them suitable for different types of projects and requirements.

  12. 12
    Article
    Avatar of freecodecampfreeCodeCamp·1y

    Learn REST API Principles by Building an Express App

    Learn the core principles of REST architecture by building a simple Express app. The guide covers setting up an Express server, defining RESTful routes for CRUD operations, using middleware for input validation, and best practices to avoid when designing APIs. By the end, you will understand how to make APIs that are scalable, predictable, and easy to work with.

  13. 13
    Video
    Avatar of freecodecampfreeCodeCamp·1y

    Essential Machine Learning and AI Concepts Animated

    Learn essential machine learning and AI concepts in an easy and visual way with this course from Vladimir of Touring Time Machine. Key topics covered include variance, unsupervised learning, time series analysis, transfer learning, gradient descent, logistic regression, and neural networks, among others. The focus is on simplifying complex ideas with animations, avoiding jargon, and making learning accessible and engaging.

  14. 14
    Article
    Avatar of freecodecampfreeCodeCamp·1y

    How to Write Unit Tests and E2E Tests for NestJS Applications

    Learn how to write unit tests and E2E tests for NestJS applications. This guide covers the fundamentals of testing, how to mock data, and the importance of unit test coverage. It includes practical examples and a demo project to help you understand the process. The tutorial also discusses when it's appropriate to write tests and the benefits of testing in enhancing system robustness and maintainability.