Best of Node.jsMarch 2025

  1. 1
    Video
    Avatar of asaprogrammerAs a Programmer·1y

    MERN Stack React Native Project: Build a Bookstore App With React Native and Node.js

    Learn how to build a full-stack mobile application using the MERN stack with React Native and Node.js. This tutorial guides you through creating a book recommendation app featuring user authentication, infinite scrolling, and CRUD operations with MongoDB. The app integrates with Cloudinary for image uploads and showcases different UI themes. The project is beginner-friendly and runs on iOS, Android, and web platforms.

  2. 2
    Video
    Avatar of youtubeYouTube·1y

    Build an Enterprise Nextjs Rental App | AWS, EC2, Cognito, Shadcn, RDS, S3, Node, React

    This guide walks you through building a scalable, enterprise-grade rental application using Nextjs for the frontend and Node.js for the backend, fully deployed on AWS. The application features user authentication with AWS Cognito, property search with Mapbox integration, and comprehensive dashboards for both tenants and managers. Key technologies include Redux Toolkit, Tailwind CSS, Shadcn, and AWS services like EC2, S3, RDS, and API Gateway. Detailed instructions and code samples are provided for each step to help you understand and implement the entire setup.

  3. 3
    Article
    Avatar of testimioTestim.io·1y

    Unit Test a REST API? Everything You Need to Know

    Learn the importance of proper testing in building high-quality REST APIs and discover the three key types of automated tests you should have in your test suite: unit tests, integration tests, and UI tests. Understand the role of each test type and how to implement them effectively to ensure your application remains stable and bug-free through continuous changes and refactoring.

  4. 4
    Article
    Avatar of telerikTelerik·1y

    Build a Microservice Architecture with NestJS

    NestJS simplifies the process of building a microservice architecture due to its modular structure and developer-friendly features. Microservices offer advantages like independent scalability, reduced downtime, quicker development, and the freedom to use different technologies for different services. The post provides a step-by-step guide to building simple Math and String microservices and a gateway service to communicate with them using TCP protocol.

  5. 5
    Video
    Avatar of developedbyeddevelopedbyed·1y

    My Favourite Tech Stack For 2025

    The author shares their favorite tech stack for 2025, highlighting tools like DocPloy for easy deployment, the Bun runtime for JavaScript applications, and the Hano framework to leverage Cloudflare's offerings. They also discuss exciting advances in authentication with Open Auth and payments integration using Polar. Additionally, frameworks like TenStack Start and Astro are recommended for their simplicity and flexibility, along with the importance of 3D technology, particularly 3JS, for future web development.

  6. 6
    Article
    Avatar of antfuAnthony Fu·1y

    Async, Sync, in Between

    In programming, handling both synchronous (sync) and asynchronous (async) functions often leads to the 'coloring problem', where a function's asynchronous or synchronous nature affects the entire codebase. This post introduces 'quansync', a new approach to decouple code from the coloring problem by allowing functions to be used as both sync and async based on context. Examples showcase how quansync can simplify code without duplicating logic, improving flexibility while managing async dependencies.

  7. 7
    Article
    Avatar of snykSnyk·1y

    JWT Security Risk: Prevention & Best Practices

    JSON Web Tokens (JWTs) are used for secure authentication and information transmission due to their digitally signed nature. However, misuse can lead to severe security risks. The post highlights the structure of JWTs, their role in APIs and microservices, popular npm packages for JWT in Node.js, and common security pitfalls, including a demonstration of insecure JSONwebtoken.decode() usage. Snyk can detect such vulnerabilities and suggests using jsonWebToken.verify() instead. Recommendations for JWT security best practices include using strong secret keys, HTTPS transmission, proper token expiration and revocation, and secure management of environment variables.

  8. 8
    Article
    Avatar of freecodecampfreeCodeCamp·1y

    How to Create a Send Email Function using Nodemailer and OAuth2

    Learn how to implement a Send Email function in your web application using Nodemailer with OAuth2 for authentication. The guide covers setting up your development environment with Node.js, React, and Chakra UI, and then walks you through both frontend and backend setup. The process includes installing the required libraries, setting up a contact form, handling form submission and validation, and configuring OAuth2 authentication in Google Cloud to secure email sending via an SMTP service.

  9. 9
    Article
    Avatar of appsignalAppSignal·1y

    How to Choose Between SQL, Query Builders, and ORMs in Node.js

    When building Node.js applications with relational databases, developers can choose between raw SQL, query builders, and ORMs. Each approach has its strengths and weaknesses. Raw SQL offers fine-grained control and performance but is complex to manage. Query builders provide a balanced and secure way to create queries, while ORMs offer high-level abstraction for quick development and schema management. Ultimately, the best choice depends on the specific needs of the project and the developer's expertise. A hybrid approach combining these methods can also be effective.

  10. 10
    Article
    Avatar of cloudnativedailyCloud Native Daily·1y

    EC2: Building a Production-Grade CI/CD Pipeline for Node.js Using GitHub Actions

    Learn how to build a production-grade CI/CD pipeline for Node.js applications using GitHub Actions and AWS EC2. This guide covers setting up an EC2 instance, configuring Node.js and PM2, creating GitHub Secrets, and building a GitHub Actions workflow file. Additionally, it includes steps to configure Nginx as a reverse proxy for your application, ensuring a secure environment setup with .env files.

  11. 11
    Article
    Avatar of ndwklyNode Weekly·1y

    Node Weekly Issue 569: March 11, 2025

    Node Weekly Issue 569 covers numerous tools and insights on Node.js and JavaScript development. Highlights include Node Modules Inspector for analyzing package dependencies, ThePrimeagen’s advice on crafting a development setup with bash scripts, and various interesting reads like best practices for file uploads and how Kubernetes interacts with Node.js. Additionally, don't miss the quick roundup on JavaScript trends and resources, including the latest from HTTP Archive and end-of-life dates for popular open source projects.

  12. 12
    Article
    Avatar of last9Last9·1y

    How to Set Up Logging in Node.js (Without Overthinking It)

    Proper logging in Node.js is critical for debugging, performance insights, security, and operational intelligence. The post outlines the importance of logging, recommends tools like Winston, Pino, and Morgan, and provides a guide to setting up and utilizing these libraries effectively. It also discusses advanced logging strategies, error handling, and integrations with visualization and monitoring tools like Last9, Kibana, and Grafana.

  13. 13
    Article
    Avatar of architectureweeklyArchitecture Weekly·1y

    TypeScript Migrates to Go: What's Really Behind That 10x Performance Claim?

    Microsoft is migrating the TypeScript compiler from JavaScript to Go, promising a 10x performance improvement. This boost is due to the Go language's suitability for CPU-intensive tasks like compilation, which JavaScript and Node.js struggle with due to their single-threaded nature and event loop model. The article dives into the design and performance trade-offs of both technologies, explaining why Go offers significant advantages for the TypeScript compiler. The broader takeaway is the importance of matching technology choices to specific problem domains.

  14. 14
    Article
    Avatar of opensourcefrontendOpen Source Front End·1y

    Built an OSS implementation of WEB-RTC in Next.JS and Shad CN, with self hosted coturn

    Developed an open-source video-call and chat application using WebRTC and Socket.IO for signaling. The app, created with Next.js, Shad CN, Tailwind, and Flask, supports rooms with up to 3 people due to its mesh architecture. The platform ensures privacy with features like password-protected rooms, no storage or interception of data, and direct peer-to-peer communication without server-side processing. Configuration of self-hosted coturn was emphasized for effective traversal across ISPs.

  15. 15
    Article
    Avatar of freecodecampfreeCodeCamp·1y

    How to Build a MERN Stack To-Do App

    This guide explains how to build a full-stack MERN To-Do application from scratch. It provides step-by-step instructions on setting up the environment, creating a React frontend with Vite and TypeScript, and implementing CRUD operations using Axios. The backend is set up with Express.js and connected to MongoDB Atlas. The guide concludes with instructions for running the application and customizing the styling.

  16. 16
    Article
    Avatar of bunBun·1y

    Bun v1.2.6

    Bun v1.2.6 includes numerous bug fixes, performance improvements, and new features. Highlights include a faster and more compatible implementation of node:crypto, the addition of a timeout option in Bun.spawn, and support for connecting to PostgreSQL via Unix sockets with Bun.SQL. The release also improves the stability of the dev server, adds initial support for node:test, and reduces binary size by 1.4 MB.

  17. 17
    Article
    Avatar of dailyopensourcetoolsDaily Open Source Tools·1y

    Fasteejs Blazing fast web application framework (hono and express alternative)

    Fasteejs is a web application framework designed for creating fast REST and real-time APIs and apps. It is compatible with various runtimes including Bun, Node.js, Deno, and Workers. More information and the source code are available on GitHub.

  18. 18
    Article
    Avatar of platformaticPlatformatic·1y

    Accelerating Node.js development with mcp-node

    Discover how mcp-node, an open-source utility, leverages the Model Context Protocol to integrate AI assistance in Node.js development. It allows developers to securely run Node.js operations with AI tools like Claude Desktop, enhancing productivity through AI-assisted coding while maintaining control via permission-based architecture. The post also introduces Flowing JSON Grep Handler (fgh), a TypeScript implementation of the JQ language, showcasing its ease of use in JSON processing tasks.

  19. 19
    Article
    Avatar of bunBun·1y

    Bun v1.2.8

    Bun v1.2.8 includes numerous performance improvements, such as making node-sdl 100x faster and Headers.get() 2x faster. The release fixes 18 bugs, enhances node:http and node:fs compatibility, and resolves issues with bun install using frozen lockfile and bun pack directory-specific pattern exclusions. Additionally, there are improvements to Bun's TypeScript type definitions for better compatibility.

  20. 20
    Article
    Avatar of electronElectron·1y

    Electron 35.0.0

    Electron 35.0.0 includes upgrades to Chromium 134.0.6998.44, V8 13.5, and Node 22.14.0. New features include Service Worker preload scripts for improved extensions support and various other enhancements. Several deprecated and breaking changes have been introduced, and support for Electron 32.x.y has ended.

  21. 21
    Article
    Avatar of freecodecampfreeCodeCamp·1y

    JavaScript Essentials

    JavaScript powers modern web development, from interactive websites to complex web applications. Mastering object-oriented programming (OOP), prototypical inheritance, ES6 classes, and asynchronous programming can significantly enhance your JavaScript skills. A new freeCodeCamp.org course, taught by Steven Garcia, covers these topics comprehensively, including JavaScript object creation, Node.js, and handling asynchronous code effectively. The course offers structured, hands-on learning to help developers deepen their JavaScript knowledge and improve their development skills.

  22. 22
    Article
    Avatar of bunBun·1y

    Bun v1.2.5

    Bun v1.2.5 fixes 75 bugs, adds 69 passing Node.js tests, improves the frontend dev server, enhances CSS modules support, rewrites Node-API, and improves performance of cryptographic operations. It also introduces several compatibility fixes with Node.js, supports HMR, enhances Svelte support, and addresses various bug fixes related to timers, events, WebSockets, and more.

  23. 23
    Article
    Avatar of opensourcefrontendOpen Source Front End·1y

    Open source framework for composable, API-agnostic frontends (React, Next.js, node.js based)

    Open Self Service is a development kit designed for building composable web frontends that integrate multiple headless services. It focuses on customer self-service experiences but can be used for any frontend application requiring backend-frontend decoupling. Key features include a Next.js starter integrated with Strapi CMS, an integration server for API data aggregation, a UI library based on shadcn-ui, and multiple service integrations. The team seeks feedback and contributions from developers.