Node

6 articles tagged with node.

freeCodeCamp

How to Build Your First Multi-Agent AI System in Python and LangGraph

In this tutorial, I'll show you how to build a multi-agent AI system in Python with no orchestration framework. We'll also implement this in LangGraph with nodes, edges, and shared state. The point of

Darsh Shah 11 minabout 19 hours ago
freeCodeCamp

How to Containerize a Node.js Application with Docker and Deploy with GitHub Actions

If you've been building Node.js projects, you've probably had an experience like this. The project runs fine on your machine, but when you push it to a server, something breaks. Maybe it's a different

Zia Ullah 13 minabout 20 hours ago
freeCodeCamp

How to Implement Role-Based Access Control in a Node.js REST API with JWT

The first time I built an API without thinking about roles, I gave every logged-in user the same access. It worked fine until a regular user accidentally hit a delete endpoint and wiped test data. Tha

Zia Ullah 10 min6 days ago
freeCodeCamp

How to Build Secure-by-Default Node.js APIs

Most security problems I've shipped in my career weren't exotic. They weren't nation-state attacks or clever zero-days. They were boring. A missing limit here, a forgotten timeout there, a string comp

Devlin Duldulao 24 min21 days ago
freeCodeCamp

The Saga Pattern in Node.js: How to Roll Back Distributed Transactions Across Microservices

Building reliable workflows across multiple microservices is challenging. In a monolith, a database transaction can ensure that multiple operations either succeed or fail together. But once data is sp

Md Tarikul Islam 18 minabout 1 month ago
freeCodeCamp

How to Upgrade from Node 16 and Jest 26 While Staying on React Scripts 4

Recently, I was trying to upgrade some of my open source projects. They were made using create-react-app around 2019, and I wanted to upgrade to a newer version of NodeJS and Jest. This would let me t…

Harsh Deep 19 minabout 2 years ago