Best of Node.jsJune 2025

  1. 1
    Article
    Avatar of webdevWebDev·43w

    I built an API for my darkest moments (and yours too)

    A developer created StayStrong, a simple Express.js REST API that serves over 500 motivational messages in English and Italian to help people during difficult times. The API features rate limiting, uses JSON files for data storage, and was born from personal experience with mental health struggles. The project aims to provide virtual support and encouragement to anyone who needs it.

  2. 2
    Article
    Avatar of freecodecampfreeCodeCamp·44w

    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.

  3. 3
    Article
    Avatar of newstackThe New Stack·42w

    Node.js 24: Your Next Big Frontend Upgrade?

    Node.js 24 brings significant improvements including native TypeScript support, better ES Module compatibility, explicit resource management for automatic cleanup, and enhanced performance through V8 optimizations. Despite these advances, many developers continue using outdated versions like Node 12 and 18, creating security risks. The update addresses long-standing JavaScript challenges with resource management and introduces Watt, an application server that enables multi-threading and even PHP integration within Node.js applications.

  4. 4
    Video
    Avatar of asaprogrammerAs a Programmer·43w

    Build a Full Stack Mobile App with React Native & Expo - React Native Tutorial

    A comprehensive tutorial covering the development of a full-stack recipe search mobile app using React Native and Expo for the frontend, with a Node.js/Express backend connected to a PostgreSQL database. The tutorial walks through building authentication with Clerk, implementing CRUD operations with Drizzle ORM, deploying the API to Render, and setting up cron jobs to prevent server inactivity. The mobile app features user authentication, recipe search, favorites functionality, and multiple color themes, demonstrating cross-platform development principles and best practices for production deployment.

  5. 5
    Video
    Avatar of bytegradByteGrad·45w

    How To Self-Host n8n (VPS vs Your Computer)

    Compares two approaches for self-hosting n8n workflow automation software: running it locally on your computer versus using a VPS cloud server. Local hosting offers cost savings, data privacy, and lower latency for local integrations, but VPS hosting provides better uptime, easier collaboration, webhook support, and simpler backup management. Includes step-by-step setup instructions for both methods, with practical demonstrations of installing n8n locally using npx and deploying it on a Hostinger VPS using their pre-configured template.

  6. 6
    Article
    Avatar of appsignalAppSignal·45w

    Performance and Stress Testing in Node.js

    Performance and stress testing are crucial for Node.js applications to evaluate system behavior under normal and extreme traffic conditions. Performance testing assesses responsiveness and scalability under expected loads, while stress testing pushes systems beyond normal capacity to identify breaking points. These tests are essential for Node.js due to its asynchronous model, scalability limitations, and resource utilization patterns. The article compares three popular testing tools: AutoCannon (Node-based HTTP benchmarking), Artillery (cloud-native distributed testing), and k6 (developer-friendly with JavaScript scripting). A practical tutorial demonstrates setting up performance tests using AutoCannon with a simple Node.js server, including installation, test execution, and result analysis.

  7. 7
    Article
    Avatar of lobstersLobsters·44w

    Cursor YOLO deleted everything in my computer

    A developer experienced a critical bug with Cursor's YOLO mode that resulted in the deletion of all files on their computer during a backend migration from Express.js to Next.js. The AI editor attempted to delete old files, failed initially, then proceeded to delete everything including itself. Data recovery attempts using EaseUS were unsuccessful, though the developer had backups on Google Drive and GitHub.

  8. 8
    Video
    Avatar of communityCommunity Picks·43w

    Learn Microservices and Kafka with an E-commerce Example | Kafka Tutorial for beginners

    A comprehensive tutorial demonstrating how to transform a monolithic e-commerce application into a microservices architecture using Apache Kafka for inter-service communication. The guide covers breaking down payment, order, email, and analytics services into independent components, implementing Kafka producers and consumers, setting up Docker containers, and creating fault-tolerant Kafka clusters with multiple brokers and partitions. The tutorial includes practical code examples showing how to handle asynchronous messaging, reduce response times from 12 seconds to 3 seconds, and ensure system resilience through distributed architecture.

  9. 9
    Article
    Avatar of towardsdevTowards Dev·44w

    Blazing Fast Leaderboards using Redis

    A gaming platform faced severe performance issues with MySQL-based leaderboards, taking 30+ seconds to load for 1 million users. By migrating to Redis sorted sets (ZSETs), they reduced response times from 30 seconds to under 50 milliseconds. The implementation uses ZADD for storing user scores, ZCOUNT for ranking, and ZREVRANGE for pagination. While Redis dramatically improved performance, challenges remain with initial data loading for large datasets and concurrent write operations affecting query response times.

  10. 10
    Article
    Avatar of newstackThe New Stack·42w

    How To Set up MacOS as a Development Machine

    Setting up macOS for development involves installing essential tools like Homebrew for package management, choosing a better terminal application, and configuring development environments. Key steps include switching shells if needed, installing Git, setting up window management tools like Rectangle, and installing development tools such as Node.js through NVM and Docker. The process leverages macOS's Unix-like foundation and extensive tool availability to create a productive development environment.

  11. 11
    Article
    Avatar of svelte_developersSvelte Developers·45w

    JavaScript Framework Showdown: Why SvelteKit Emerges Victorious

    SvelteKit outperforms Next.js and Nuxt.js in the JavaScript framework competition through its revolutionary compilation approach that eliminates runtime overhead. Unlike traditional virtual DOM frameworks, SvelteKit compiles components into efficient vanilla JavaScript, resulting in smaller bundle sizes, faster load times, and superior performance. The framework offers a gentler learning curve while maintaining power, making it ideal for performance-critical applications where bundle size and runtime performance are crucial.

  12. 12
    Video
    Avatar of youtubeYouTube·43w

    Full Stack AI Agent course with inngest and Gemini

    A comprehensive tutorial on building a full-stack AI agent application using Inngest for background workers and Gemini for AI processing. The application features a smart ticketing system with role-based access control, automated ticket assignment based on user skills, and AI-powered ticket analysis. Key components include user authentication with JWT, MongoDB for data storage, email notifications via background workers, and AI agents that automatically categorize tickets, set priorities, generate helpful notes, and assign them to appropriate moderators based on their skills.

  13. 13
    Article
    Avatar of freecodecampfreeCodeCamp·43w

    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.

  14. 14
    Video
    Avatar of awesome-codingAwesome·41w

    Node quietly dropped its biggest update in years...

    Node.js has released Amaro v1, a built-in TypeScript type stripping loader that allows developers to run TypeScript files directly without external build processes. This major update uses SWC under the hood and supports two modes: strip types (removes annotations) and transform types (handles advanced features like enums). Unlike previous experimental support, Amaro works with TypeScript files in node_modules, enabling entire dependency trees to run without pre-compilation. This brings Node.js closer to the seamless TypeScript experience offered by Deno and Bun, with plans to promote TypeScript support from experimental to stable status later this year.

  15. 15
    Video
    Avatar of asaprogrammerAs a Programmer·41w

    Build a Twitter Clone with React Native - Full React Native Tutorial

    A comprehensive 7-hour tutorial for building a fully functional Twitter/X clone using React Native and Expo for the frontend, with a complete Node.js/Express backend API connected to MongoDB. The tutorial covers authentication with Clerk (Google/Apple sign-in), image uploads with Cloudinary, security features with ArcJet, and includes features like posting, commenting, liking, notifications, messaging, and user profiles. The course also teaches proper Git workflow with branches and pull requests, simulating real-world development practices.

  16. 16
    Article
    Avatar of communityCommunity Picks·44w

    The ultimate ORM for Node and Typescript

    Orange ORM is a comprehensive Object Relational Mapper supporting Node.js, Bun, and Deno with TypeScript and JavaScript compatibility. It provides seamless integration with multiple databases including PostgreSQL, MySQL, SQLite, MS SQL, Oracle, and Cloudflare D1. The ORM features a fluent mapping syntax for defining table relationships, powerful filtering capabilities, transaction support, and browser compatibility through Express middleware. Key features include automatic type generation, conflict resolution strategies, cascade operations, and support for complex queries with aggregations and joins.

  17. 17
    Article
    Avatar of appsignalAppSignal·44w

    Using SQL in Node.js with Sequelize

    A comprehensive guide to integrating Sequelize ORM with Node.js applications for PostgreSQL database operations. Covers setting up database connections, defining models, and implementing complete CRUD functionality through a practical blog post management system. Includes Docker setup for PostgreSQL, model synchronization, pagination considerations, and best practices for production environments.

  18. 18
    Article
    Avatar of freecodecampfreeCodeCamp·42w

    An Animated Introduction to Web Development from Back to Front

    An interactive tutorial introduces web development fundamentals through animated code playbacks covering both frontend and backend technologies. The resource covers JavaScript, Node.js, Express, databases (SQLite, MongoDB), HTML, CSS, React, and GraphQL using step-by-step code demonstrations with built-in AI tutoring support.

  19. 19
    Video
    Avatar of communityCommunity Picks·42w

    MCP Server Tutorial | Build your first MCP Server with TypeScript SDK

    Model Context Protocol (MCP) is a standardized way to connect AI applications with external data sources. Developed by Anthropic, MCP works like a universal connector that allows AI models to access structured context from databases, APIs, calendars, and files through custom-built servers. The tutorial demonstrates building an MCP server using TypeScript that integrates Google Calendar with AI assistants like Claude or Cursor, enabling natural language queries about meetings and schedules. MCP servers communicate via standard input/output and can be reused across different AI applications, creating new opportunities for developers to build AI-enabling infrastructure.

  20. 20
    Article
    Avatar of twirThis Week In React·44w

    This Week In React #238: React Router, RSC, shadcn/ui, React Aria, TanStack, ForesightJS, Cosmos

    Weekly React ecosystem roundup covering React Router's new open governance model and v8 preview, Dan Abramov's deep dive into RSC module systems, and various library updates including TanStack Router 1.121 and shadcn/ui improvements. React Native section highlights iOS 26 Liquid Glass UI support, new JSI runtime APIs, and multiple package updates. JavaScript ecosystem news includes Oxlint 1.0 stable release, Node.js TypeScript support improvements with Amaro 1.0, and Safari 26 beta WebKit features.

  21. 21
    Article
    Avatar of socketdevSocket·44w

    Node.js Moves Toward Stable TypeScript Support with Amaro 1....

    Node.js released Amaro v1.0.0, a type-stripping loader that brings stable TypeScript support closer to reality. Amaro uses SWC for transpilation and can handle TypeScript files in node_modules, unlike Node's current experimental support. The release focuses on stability rather than new features, paving the way for Node.js to transition TypeScript support from experimental to stable status later this year. While developers are excited about potential native TypeScript support, adoption challenges remain around library ecosystem readiness and LTS version compatibility.

  22. 22
    Article
    Avatar of logrocketLogRocket·45w

    How to iterate over enums in TypeScript (with code examples)

    TypeScript enums can be iterated using several methods including Object.keys(), Object.values(), for...in loops, and for...of loops. Numeric enums create reverse mappings that require filtering to avoid duplicate entries, while string enums are simpler to iterate. The article demonstrates practical code examples for each approach, explains the differences between numeric and string enums, and provides a reusable getEnumKeys() utility function for type-safe enum iteration.