Best of Node.jsJuly 2022

  1. 1
    Article
    Avatar of changelogChangelog·4y

    Bun is a fast all-in-one JavaScript runtime

    Bun is a modern JavaScript runtime like Node or Deno. It was built from scratch to focus on three main things:Start fast (it has the edge in mind) New levels of performance (extending JavaScriptCore, the engine) Being a great and complete tool (bundler, transpiler, package manager)

  2. 2
    Article
    Avatar of logrocketLogRocket·4y

    Build an automated ecommerce app with WhatsApp Cloud API and Node.js

    In May 2022, Meta announced that they were opening up the WhatsApp Business API to the public. This article intends to welcome you to Meta’s world of opportunities. WhatsApp chatbots can help you generate leads, receive orders, schedule appointments, run surveys, take customer feedback, provide scalable customer support, send invoices and receipts.

  3. 3
    Article
    Avatar of phProduct Hunt·4y

    Tauri - An Electron alternative written in Rust

    Tauri is a framework for building tiny, blazingly fast binaries for all major desktop platforms. Developers can integrate any front-end framework that compiles to HTML, JS and CSS for building their user interface. Free Discuss Collect Share Stats Free Discuss Share Stats free Discuss Share stats free

  4. 4
    Article
    Avatar of communityCommunity Picks·4y

    Inside JavaScript Engines, Part 1: Parsing

    There are 3 major JavaScript engines left after long and exhausting browser wars. V8, SpiderMonkey, JavaScript core, and more and more engines. Let’s take a closer look at JavaScript engines and how they work. Inside JavaScript Engines, Part 1: Parsing Part 2: Code generation and basic optimizations.

  5. 5
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    How to Get Started with Node.js – Beginner's Guide to Node

    NPM stands for Node Package Manager which help you manage your packages for Node. Node.js is an event-driven, non-blocking IO model. This means it doesn't block itself for one request (but rather immediately moves to the next request) This makes Node extraordinarily fast and efficient.

  6. 6
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    How to Update NPM Dependencies

    Dependencies can become outdated over time due to bug fixes, new features, and other updates. Outdated packages can pose a threat to security and can have negative effects on performance. Up-to-date packages prevent vulnerabilities. periodic dependency checks and updates are important. In this article, I will go over methods to inspect and upgrade dependencies in detail.

  7. 7
    Article
    Avatar of ossOpen Source Way·4y

    Create a JavaScript API in 6 minutes

    This article demonstrates creating a base API with Express and JavaScript. Express is a NodeJS minimalist web framework. This combination allows for minimal effort to get an API up and running. If you have six minutes of free time, you can get this API working to do something useful.

  8. 8
    Article
    Avatar of systemweaknessSystem Weakness·4y

    Dockerize a MERN Stack app for Production with Security in Mind (Part II)

    This post is the 2nd part of a two part series that covers how to make a MERN stack application production-ready with security in mind. The first part of this series was more of a theoretical post to grasp the basic concepts of what we want to achieve.

  9. 9
    Article
    Avatar of logrocketLogRocket·4y

    Bun: The JavaScript runtime taking on Node.js and Deno

    In 2022, former Stripe developer Jared Sumner released Bun. Bun is a runtime developed in the Zig programming language. It aims to provide many of the features of transpilers, like Babel, and Bundlers like Webpack, Rollup, Snowpack, and Vite.

  10. 10
    Article
    Avatar of itnextITNEXT·4y

    🚀Boost NodeJS Scalability with Multi-Processing Architecture🚀

    NodeJS is bad when it has to handle CPU intensive tasks. I decided to offload the problematic processes into a dedicated worker process. It turns out that doing it reduced significantly the overhead of scaling out the application. I will share the details to have a bulletproof multi-core single codebase architecture in production.

  11. 11
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    How to Build a Full-Stack Authentication App With React, Express, MongoDB, Heroku, and Netlify

    This tutorial assumes that you already know the basics of: Nodejs and Express. We'll begin with setting up a database using MongoDB, then we'll create endpoints (login and register), and finish by hosting the endpoints on Heroku. By the end of this tutorial, you will have learned how to use tools such as Nodejs, Express, React, Mongo DB, Heroku, Netlify.

  12. 12
    Article
    Avatar of systemweaknessSystem Weakness·4y

    Dockerize a MERN Stack app for Production with Security in Mind (Part I)

    Dockerize a MERN Stack app for Production with Security in Mind (Part I) Securing a NodeJS application with Docker and Nginx. The first part of a two-part series that covers how to Dockerize an existing MERN stack application and how to make it ready for production. We are going to focus on availability, reliability, and security.

  13. 13
    Article
    Avatar of devdojoDevDojo·4y

    Quick introduction to WebSockets with Node.js

    WebSockets allow you to send and receive data over a network without having to use a traditional HTTP protocol. Using WebSockets, you can build a real-time application. We will be using the ws library. It is a Node.js module that allows you to create WebS sockets servers and clients.

  14. 14
    Article
    Avatar of gcgitconnected·4y

    Where to Host a Node.js App

    The choice of hosting for Node.js applications depends on your needs. Here is a small list of hosting options that you can explore once you decide to deploy your app and make it public. We will consider simple options that have limited capabilities, and then — more complex, but also have more serious capabilities.

  15. 15
    Article
    Avatar of geekflareGeekflare·4y

    How to Authenticate and Authorize User Using JWT in NodeJS

    In this article, we are going to build a Nodejs API with JWT (JSON Web Tokens) authentication. We will be authorizing logged-in users’ to access the user’s data. In this tutorial, I assume you have a basic understanding of Javascript and MongoDB.

  16. 16
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    How to Get Started with Node.js – Beginner's Guide to Node

    NPM stands for Node Package Manager which help you manage your packages for Node. Node.js is an event-driven, non-blocking IO model. This means it doesn't block itself for one request (but rather immediately moves to the next request) This makes Node extraordinarily fast and efficient.