Best of Node.jsMarch 2022

  1. 1
    Article
    Avatar of gcgitconnected·4y

    Changing Async/Await to Promises.all to Speed Up API Calls in Node.JS

    Node.JS has a bulk edit feature where the user can multi-select a few records and edit all of them at the same time. Updating one record makes an API call that takes 500ms to 1s. Since it iterates over the records and updates them one by one, the time goes up linearly as there are more records to be updated.

  2. 2
    Article
    Avatar of faunaFauna·4y

    How to use streams in Node.js

    Streams of data serve as a bridge between where data is stored and where it will be processed. Using streams, large data sets are divided up into smaller chunks, which are then processed one by one. This eliminates the need to read data from storage into memory before processing it.

  3. 3
    Article
    Avatar of devdojoDevDojo·4y

    What's the difference between NPM and Yarn?

    Yarn is a new package manager for node.js. It is a common project developed by such companies as Facebook, Exponent, Google, and Tilde. NPM is considered to be the largest software registry in the world. The advantages of NPM are ease of use for developers and local package installation.

  4. 4
    Article
    Avatar of logrocketLogRocket·4y

    The Fetch API is finally coming to Node.js

    On 1 February 2022, the Node.js core team merged a pull request adding the Fetch API. Fetch is the de facto standard for making asynchronous calls in web applications. One significant advantage Fetch has over XMLHttpRequest is that it leverages promises, allowing for a simpler and cleaner API while avoiding callback hell.

  5. 5
    Article
    Avatar of sectionioSection·4y

    Creating Dashboards in React using React Dashboards

    React Dashboard is a free and premium dashboard template from Flatologic. It is built with React, Bootstrap, React Router, Redux, and GraphQL. It comes with a React frontend and a Node.js backend. This tutorial will cover how to create a dashboard in three easy steps. Then, we will connect it to an SQL database with MAMP.

  6. 6
    Article
    Avatar of pointerPointer·4y

    amplication/amplication: Amplication is an open‑source development tool. It helps you develop quality Node.js applications without spending time on repetitive coding tasks.

    Amplication is an open‑source development tool. It helps professional Node.js developers develop quality applications. It auto-generates backend apps built with TypeScript and Node.JS. The client is based on React, Apollo client, Primer components, React Material Web Components, Formik.

  7. 7
    Article
    Avatar of medium_jsMedium·4y

    Deeper dive into gRPC and creating own micro-service architecture in Node.js

    GRPC is a modern, open source remote procedure call (RPC) framework that can run anywhere. It enables client and server applications to communicate transparently and makes it easier to build connected systems. Deeper dive into gRPC and creating own micro-service architecture in Node.js.

  8. 8
    Article
    Avatar of devtoDEV·4y

    Turning React apps into PDFs with Next.js, NodeJS and puppeteer

    A month ago, I rebuild my resume with Next.js and Tailwindcss. The technique can come in handy if you for example, would have to generate invoices inside your already existing applictaion. This is NOT a production ready implementation. If there's enough interest, I can make a follow-up post.