Best of Node.js2024

  1. 1
    Article
    Avatar of logrocketLogRocket·2y

    JavaScript design patterns guide

    Developers use design patterns as reusable solutions to common problems. This guide demonstrates several JavaScript design patterns, including creational (factory and builder), structural (adapter and decorator), and behavioral (chain of responsibility and strategy) patterns. Each pattern is illustrated with practical code examples to aid understanding.

  2. 2
    Article
    Avatar of communityCommunity Picks·2y

    10 JavaScript concepts every Node developer must master

    Node.js has become a standard for building web apps and systems software, utilizing JavaScript on the back end. Key JavaScript concepts include closures, prototypes, private properties, modules, error handling, currying, call/apply/bind methods, memoization, IIFE, and argument handling. Mastering these concepts can help Node developers write scalable and efficient code, despite the challenges posed by JavaScript's multiparadigm nature and Node's single-threaded architecture.

  3. 3
    Article
    Avatar of communityCommunity Picks·2y

    A fully featured web framework for Node.js

    AdonisJS is a fully-featured web framework for Node.js that provides type-safety, ESM support, a feature-rich core, a collection of officially maintained packages, an IoC container, a powerful CLI, and security primitives. It has received praise from developers around the world and is sponsored by fantastic companies and individuals.

  4. 4
    Article
    Avatar of communityCommunity Picks·2y

    How to Structure Your Backend Code in Node.js (Express.js)

    In Node.js applications using Express.js, effective codebase structuring is vital for maintainability, scalability, and easier collaboration. This guide outlines a common directory structure, explaining the purpose of each folder and file, from 'app.js' to 'node_modules', to help manage complexity and build robust applications.

  5. 5
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    How to Implement Message Queues in Your Backend Applications

    Message queuing is essential for backend development to address scalability issues and ensure orderly communication among services. This post explains the concept of message queues, its use cases in industries like fintech and healthcare, and popular tools such as RabbitMQ and Apache Kafka. A demo project using RabbitMQ with Node.js is also provided, illustrating how to build a message publisher and consumer for seamless communication.

  6. 6
    Article
    Avatar of communityCommunity Picks·2y

    Top 15 Open-Source Low-Code Projects with the Most GitHub Stars

    This post explores 15 popular open-source low-code projects on GitHub, focusing on aspects such as open source licenses, active contributors, and acceptance of external PRs. Key highlighted tools include NocoBase, APITable, LowCodeEngine, Amplication, and Supervision, among others. Each tool is evaluated based on features, use cases, and potential benefits for developers in rapidly creating applications, automating workflows, and integrating various data sources and APIs.

  7. 7
    Article
    Avatar of communityCommunity Picks·2y

    I Built an Event Scheduler in NodeJs using Google Calendar API 🚀

    The post guides you through building an event scheduler in Node.js that integrates with Google Calendar API. It covers setting up a Node.js project, configuring environment variables, creating an Express server, and using OAuth 2.0 for authentication. Additionally, it explains how to schedule events, add Google Meet links, and notify attendees via email.

  8. 8
    Article
    Avatar of communityCommunity Picks·2y

    Security Best Practices for Your Node.js Application

    Node.js applications are common targets for attacks, including XSS, DoS, and brute force. This guide outlines common security threats and provides best practices to mitigate them. Techniques include using parameterized queries, sanitizing inputs, employing ORMs, implementing rate limiting, and using multi-factor authentication. The importance of using secure headers, securing dependencies, and monitoring/logging activities is also highlighted, along with practical code examples.

  9. 9
    Article
    Avatar of game_developersGame Developers·1y

    my new portfolio as a full stack developer

    After gaining experience in web and backend development, the author expanded their skills to include ElectronJS, CapacitorJS, and Docker to create and deploy cross-platform applications. Using inspiration from designer Yanka Darelova, the author built an application with Vue 3 Composition APIs, TypeScript, and Sass/SCSS, adding an ExpressJs backend and Mongo database. The app is secure, utilizing Nginx for load balancing and SSL encryption, and is available for exploration at baderidris.com.

  10. 10
    Article
    Avatar of communityCommunity Picks·2y

    Writing A Microservice Using Node.js

    The post discusses the benefits of using Node.js for web services development and explains how to build a microservice using Node.js. It covers topics such as the tech stack, database choice, web framework, validation, configuration, static analysis, testing, logging, metrics, monitoring stack, local infrastructure with Docker, and continuous integration. The code examples and explanations provide valuable insights for Node.js web developers.

  11. 11
    Video
    Avatar of techworldwithnanaTechWorld with Nana·1y

    Full NGINX Tutorial - Demo Project with Node.js, Docker

    Learn NGINX fundamentals and how to configure it as a reverse proxy for a Node.js application using Docker. This comprehensive guide covers step-by-step instructions on setting up multiple instances of a Dockerized application, configuring NGINX for load balancing, enabling HTTPS with SSL certificates, and the essential configurations to secure and optimize your web server. The tutorial also touches upon the importance of DevOps skills and introduces a complete DevOps educational program for further learning.

  12. 12
    Article
    Avatar of communityCommunity Picks·2y

    Node.js is Single-Threaded But Still Concurrent. How?

    Node.js is able to handle concurrent requests through its event-driven, non-blocking I/O model. This allows it to efficiently manage numerous connections simultaneously without the need for a dedicated thread per connection. The non-blocking I/O operations contribute to improved performance, making Node.js suitable for high I/O requirements. Additionally, the event-driven nature of Node.js simplifies code by eliminating the need for complex threading mechanisms.

  13. 13
    Article
    Avatar of communityCommunity Picks·2y

    Encore.ts — 9x faster than Express.js & 3x faster than Bun + Zod

    Encore.ts is an Open Source backend framework for TypeScript, boasting performance numbers 9x faster than Express.js and 3x faster than Bun with Zod. Its architecture leverages a multi-threaded event loop using Rust, and precomputes request schemas to optimize performance. With infrastructure integrations built in Rust, Encore.ts aims to off-load non-business logic from the JavaScript event loop, making backend applications highly optimized for speed and efficiency while maintaining compatibility with Node.js.

  14. 14
    Article
    Avatar of communityCommunity Picks·2y

    How to use Socket.IO and build your first multiplayer game!

    Learn how to use Socket.IO to build a multiplayer game where a button moves to a random location when clicked. The tutorial guides you through setting up your environment, writing server code, and creating the real-time functionality using Socket.IO for seamless client-server communication. By the end, you'll understand how to pass data, emit, and listen for messages in a real-time web application.

  15. 15
    Article
    Avatar of communityCommunity Picks·2y

    thedevdojo/pines: The Pines UI library

    Pines UI Library is an open-source project available on GitHub, easy to set up locally with NodeJS and http-server. It is licensed under the MIT license. For support and questions, users are encouraged to visit the DevDojo discussions section.

  16. 16
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    How to Build a Basic CMS with Google Sheets and React

    Learn how to build a basic CMS using Google Sheets and React. This approach reduces costs and simplifies content updates and management. Ideal for freelancers and those on a tight budget.

  17. 17
    Article
    Avatar of communityCommunity Picks·2y

    maybe-finance/maybe: Personal finance and wealth management app

    Maybe is an open-source personal finance app with features like net worth tracking, financial account syncing, investment benchmarking, and more. It is built using a tech stack including Next.js, Tailwind, Node.js, and Postgres.

  18. 18
    Article
    Avatar of communityCommunity Picks·2y

    Top 5 Node.js Backend Frameworks in 2024

    Explore the top 5 Node.js backend frameworks in 2024, including Express.js, NestJS, Koa.js, and Adonis.js. Learn about their key features and use cases.

  19. 19
    Article
    Avatar of communityCommunity Picks·2y

    Top Open Source Projects That Improve Your Coding Skills

    Open source projects have revolutionized technology, providing tools and platforms for innovative solutions. Highlighted are impactful projects in Python, Java, project management, GitHub, C++, and JavaScript. Featured projects include Django, Flask, Pandas, Spring Framework, Apache Tomcat, Redmine, OpenProject, React, and Node.js, amongst others. Contributing to open source is encouraged with tips on finding and understanding projects, setting up environments, and community engagement.

  20. 20
    Article
    Avatar of communityCommunity Picks·2y

    Building Microservices with nodejs nestjs #series

    The video series covers building microservices for enterprise applications using the Node.js ecosystem. It includes topics like Express/NestJS with TypeScript, deploying services with AWS CDK, and various microservice architectures such as event-driven and serverless. The series provides practical insights into deploying with AWS ECS or Lambda and discusses best practices for different microservice patterns.

  21. 21
    Article
    Avatar of devtoDEV·2y

    The 5 Must-Know Backend Frameworks in 2024

    Explore the top 5 backend frameworks in 2024, including Express.js, NestJS, Koa.js, Hapi.js, and Adonis.js. Learn about their key features and what makes them stand out.

  22. 22
    Article
    Avatar of medium_jsMedium·2y

    The Essential Node.js Guide for Developers of All Levels

    This post provides essential Node.js best practices for developers at all levels. It covers application architecture, code-level practices, performance optimization tips, security tips, and scalability strategies.

  23. 23
    Article
    Avatar of devtoDEV·2y

    NodeJS Security Best Practices

    Learn how to improve the security of your NodeJS application by using packages like helmet for preventing attacks, toobusy-js for preventing DOS attacks, and express-rate-limit for rate limiting.

  24. 24
    Article
    Avatar of communityCommunity Picks·2y

    Mastering NestJS: Building Robust Applications with Core Concepts

    NestJS is a powerful framework for building APIs, microservices, and standalone apps. Key concepts include modules for organizing components, controllers for handling requests, providers for dependency injection, middleware for controlling request flow, guards for security checks, interceptors for managing request/response cycles, pipes for data validation/transformation, and exception filters for error handling. Examples illustrate how to leverage these features for robust application development.

  25. 25
    Article
    Avatar of communityCommunity Picks·2y

    Build a real-time voting app with WebSockets, React & TypeScript 🔌⚡️

    Learn how to build a real-time voting app using WebSockets in a React-NodeJS environment. Discover two methods: one using ExpressJS and Socket.IO for a customizable approach and the other using the Wasp full-stack framework for easier integration. Explore the differences between these methods, including setup complexity, control, and type safety. This guide highlights the limitations of serverless solutions for WebSockets and provides step-by-step instructions to implement and configure real-time communication features.