Best of Node.js2023

  1. 1
    Article
    Avatar of communityCommunity Picks·3y

    Dotenv is dead

    Node.js 20.6.0 brings support for loading environment variable files. Reading directly from process.env has issues such as lack of type safety, validation, and immutability. Zod is a library used to parse and validate environment variables.

  2. 2
    Article
    Avatar of communityCommunity Picks·2y

    Vite 5.0 is out!

    Vite 5.0 has been released, bringing new features and improvements to the popular JavaScript build tool. It now uses Rollup 4 for improved build performance and introduces server.warmup to improve startup time. Vite no longer supports older versions of Node.js, requiring version 18 or higher. Check out the Migration Guide for a smooth upgrade process.

  3. 3
    Article
    Avatar of jsPlainEnglishJavaScript in Plain English·3y

    I Bet You Don’t Use These JavaScript Tricks and Practices

    I Bet You Don’t Use These JavaScript Tricks and Practices. Using FlatMap Flat Map in javascript is a great technique which you can learn here. Not using native Javascript classes enough Javascript comes pack with native javascript classes that can help you create/instantiate things like URL, Headers and Headers.

  4. 4
    Article
    Avatar of communityCommunity Picks·2y

    2024’s Tech Trend: Frontend for Backend

    Frontend for Backend (FFB) is a development approach that integrates admin panels into web applications to make backend management more efficient and user-friendly. It simplifies the development process for frontend developers and allows for quick and easy adjustments through the frontend.

  5. 5
    Article
    Avatar of devtoDEV·3y

    Discover Bun - A Faster, Modern JavaScript Runtime

    The Javascript Space is completely different from 15 years ago when NodeJS was first released. The technology behind Bun Bun is a Javascript Runtime. It starts with an Engine - The Component of a runtime that runs the Javascript code. Bun comes with built-in testing support, and so it is much faster from the other ones.

  6. 6
    Article
    Avatar of communityCommunity Picks·3y

    Creating a resume builder with React, NodeJS and AI 🚀

    Learn how to create a resume builder using React, Node.js, and the OpenAI API. Set up the server and React application, upload images, communicate with the OpenAI API, display the response, and print React pages.

  7. 7
    Article
    Avatar of builderiobuilder.io·3y

    Debugging Node.js, The Right Way

    Learn how to debug Node.js code using browser devtools, the difference between --inspect and --inspect-brk, debugging node scripts launched with other commands, and debugging directly in your IDE or in VS Code for client-side code.

  8. 8
    Article
    Avatar of awstipAWS Tip·3y

    Understanding NestJS Architecture

    NestJS is a NodeJs framework built on top of ExpressJs and is used for building efficient, scalable, loosely coupled, testable and easily maintainable server side web applications. The problem NestJs trying to solve is that of architecture. The simplest approach is to create a Controller doing all things: from validation to request-processing to handling business logic.

  9. 9
    Article
    Avatar of freecodecampfreeCodeCamp·3y

    Full Stack Engineer – Career Guide

    Full Stack engineering roles have been growing in popularity over the last decade. But what exactly are full-stack engineers? What do they do on a day-to-day basis? And how can you become a full- Stack engineer yourself? In this article, I will go over the definition of full- stack engineering.

  10. 10
    Article
    Avatar of medium_jsMedium·3y

    Serverless Bun vs Node: Benchmarking on AWS Lambda

    Serverless Bun vs Node: Benchmarking on AWS Lambda. Bun promises a whole host of benefits, mostly around performance and developer experience, while boasting strong interoperability standards. Bun claims it can process logic at 3-4x the speed of NodeJS.

  11. 11
    Article
    Avatar of communityCommunity Picks·2y

    you-dont-need/You-Dont-Need-Lodash-Underscore: List of JavaScript methods which you can use natively + ESLint Plugin

    Learn about native alternatives to Lodash/Underscore JavaScript methods and how to identify places in your code where you don't need them.

  12. 12
    Article
    Avatar of amplicationAmplication·3y

    Top 6 ORMs for Modern Node.js App Development

    Learn about the importance of ORM in Node.js app development, the benefits it provides, and explore the top 6 ORM tools for modern Node.js app development.

  13. 13
    Article
    Avatar of awstipAWS Tip·3y

    MERN stack for Web Development

    MERN stack comprises a collection of four frameworks used to develop full-stack javascript solutions for rapid, scalable, and secure applications. All frameworks are open-source and have room for designing flexible and scalable applications. Ease of learning the frameworks as they follow similar patterns and support quality collaboration.

  14. 14
    Article
    Avatar of javacodegeeksJava Code Geeks·2y

    Node.js Cheatsheet

    Node.js is an open-source, server-side runtime environment that allows developers to build scalable, high-performance web applications using JavaScript. It has gained popularity due to its versatility, single-language usage, and extensive ecosystem. Node.js has advantages like high performance, non-blocking I/O, cross-platform compatibility, real-time capabilities, and a large community of support. However, it also has limitations like single-threaded nature, limited multithreading, learning curve for asynchronous programming, debugging challenges, and managing complex code structures for asynchronous operations.

  15. 15
    Article
    Avatar of communityCommunity Picks·3y

    Monorepo Explained

    There are many great monorepo tools, built by great teams, with different philosophies. We chose these tools because of their usage or recognition in the Web development community. The tools we'll focus on are: Bazel (by Google), Gradle Build Tool (by Gradle, Inc), Lage (by Microsoft), Lerna.

  16. 16
    Article
    Avatar of asayerasayer·2y

    Creating an API with Bun

    Learn how to use Bun, a new JavaScript runtime, to create a full API. Explore the features of Bun, set up your development environment, create a database, implement services and controllers, and set up a Bun-Elysia server.

  17. 17
    Article
    Avatar of communityCommunity Picks·3y

    JavaScript CRUD Rest API using Nodejs, Express, Sequelize, Postgres, Docker and Docker Compose

    Learn how to create a CRUD rest API using Node.js, Express, Sequelize, Postgres, Docker, and Docker Compose. Dockerize the Node.js application and test the APIs with Postman.

  18. 18
    Article
    Avatar of amplicationAmplication·3y

    Node.js Development: All You Need to Know

    Node.js can be considered a future-proof technology that every developer should know. It allows developers to use JavaScript on both the frontend and backend, making it the perfect choice for building scalable, high-performance applications. It was introduced in 2009 and revolutionalized the development world since it allowed developers to run JavaScript outside web browsers.

  19. 19
    Article
    Avatar of amplicationAmplication·3y

    Why We Chose Node.js Over Deno?

    Node.js was the de-facto standard for writing server-side JavaScript apps in the 2010s. Ryan Dahl introduced Deno in 2018 in his controversial JSConf EU talk titled "10 Things I Regret About Node.JS" This article gives an overview of the platforms, history, performance, security, and all other critical features.

  20. 20
    Article
    Avatar of communityCommunity Picks·2y

    How To Handle Errors in Node.js and TypeScript

    Learn how to handle errors in Node.js and TypeScript using abstract classes for consistent and DRY error handling logic.

  21. 21
    Article
    Avatar of medium_jsMedium·3y

    Best Practices for Building Large-Scale Node.js Applications

    Best practices for building and scaling large-scale Node.js applications, including code organization, performance optimization, scalability, and security.

  22. 22
    Article
    Avatar of amplicationAmplication·3y

    7 Tips to Build Scalable Node.js Applications

    Node.js is a JavaScript framework created on Chrome's V8 JavaScript engine. If used correctly, it can be used to build highly scalable mission-critical applications. This article will discuss several tips which can be helpful when it comes to building scalable applications.

  23. 23
    Article
    Avatar of amplicationAmplication·3y

    Understanding Node.js Streams

    Streams are a fundamental concept in Node.js that enable efficient data handling. They are handy for file operations, network communications, and other forms of end-to-end data exchange. They process data in small, sequential chunks instead of loading the entire dataset into memory at once. Streams provide two key advantages over other data handling methods.

  24. 24
    Article
    Avatar of awstipAWS Tip·2y

    Building a CI/CD Pipeline for Node.js Application with Jenkins and Docker

    Building a CI/CD pipeline for Node.js applications with Jenkins and Docker allows for the seamless automation, containerization, and orchestration of the development process. Organizations are adopting these pipelines to deliver high-quality applications quickly and reliably. This article provides an overview of Jenkins, the prerequisites for setting up the pipeline, and a step-by-step guide to configure the pipeline.

  25. 25
    Article
    Avatar of communityCommunity Picks·3y

    A Complete Visual Guide to Understanding the Node.js Event Loop

    This post provides a visual guide to understanding the Node.js event loop, explaining how JavaScript handles asynchronous programming and the role of libuv in Node.js.