Best of Node.js2022

  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 medium_jsMedium·4y

    Lodash is dead. Long live Radash.

    Lodash was created in 2009 (as Underscore) and rose to power after a fork (as Lodash) around 2012-2013. The language was too unsafe, unmaintainable, and unwieldy. The addition of optional chaining and null coalescing alone makes a large handful of Lodash functions obsolete. The source code is maintained with understandability for newcomers as a top priority.

  3. 3
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    REST API Design Best Practices – How to Build a REST API with JavaScript, Node.js, and Express.js

    Best practices are conventions or tips that have evolved over time and turned out to be effective. They should give you a direction to make your API's better in terms of user experience (for the consumer and the builder), security, and performance. In this tutorial we'll build a REST API for a CrossFit Training Application.

  4. 4
    Article
    Avatar of communityCommunity Picks·4y

    Building a chat app with Socket.io and React 🚀

    Socket.io is a popular JavaScript library that allows us to create real-time, bi-directional communication between web browsers and a Node.js server. To develop a chat app you would need to be aware of new messages as soon as they arrive. To read this article you'll need to have a basic knowledge of React.io.

  5. 5
    Article
    Avatar of honeypotHoneypot·4y

    9 Bad React Habits to Kick From Your Life

    React has become a word that developers worldwide hear on a regular basis. Too much flexibility makes it easy to pick up bad habits and poor practices. Here are some of the worst practices I’ve seen (and may or may not have done in the past) The useEffect hook is probably one of the first hooks a React developer learns.

  6. 6
    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.

  7. 7
    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

  8. 8
    Article
    Avatar of logrocketLogRocket·4y

    How to automate API tests with Postman

    Writing API tests with Postman is a platform that provides a complete set of tools for building, testing, documenting, and mocking APIs. We'll explore how to write automated functional and integration tests for your APIs that will run in a CI/CD pipeline. We’ll create a collection called Delivery-API Tests where we are simple tests, but the goal is to understand the concept of testing in Postman.

  9. 9
    Article
    Avatar of nodejsNode.js·4y

    Node.js 18 is now available!

    Node.js 18 is now available. Highlights include the update of the V8 JavaScript engine to 10.1, global fetch enabled by default, and a core test runner module. The Node:test module facilitates the creation of JavaScript tests that report results in TAP format.

  10. 10
    Article
    Avatar of communityCommunity Picks·4y

    How to build a real-time Auction System with Socket.io and React.js

    The auction runs on the "fast" decision bid, where someone else will win or outbid you if you don't bid fast enough. To use online bidding, we must stick to the same principles. Use an open-socket (Websockets) to get information directly from the server when a new bid arrives. Next, add Socket.io to the project to create a real-time connection.

  11. 11
    Article
    Avatar of hashnodeHashnode·4y

    Role-Based Authorization in NodeJs

    Authentication and authorization in Express.js can be achieved easily using middleware functions. To make things easier we made available some starter files if you would like to code along. The finished version lies on the main branch while the starter files are on the starter branch. We made everything simple enough so just anyone whether a beginner or intermediate developer can follow along.

  12. 12
    Article
    Avatar of communityCommunity Picks·3y

    11 Features in Node.js 18 you need to try

    Node.js 18 was released on the 19th of April this year. The community is looking forward to this release with many new features and other benefits. You can now use Node Watch index on your file name to start watching your files without having to install anything.

  13. 13
    Article
    Avatar of devtoDEV·4y

    This is why your Node.js application is slow

    Many performance-related issues in Node.js applications have to do with how promises are implemented. Async/await blocks the event loop when not correctly used. blocking it means that other parts of the application will suffer because they will not get executed on time and that affects the overall performance.

  14. 14
    Article
    Avatar of hashnodeHashnode·4y

    The Top 12 Node.js Frameworks on GitHub️

    These are the top 12 Node.js frameworks on GitHub️ at the time of writing. I have no doubt that these numbers are going to increase but at least then you can see how much they have grown.Express.js is the most popular Node.JS backend framework.

  15. 15
    Article
    Avatar of hashnodeHashnode·4y

    Backend Development Is Not Hard

    Backend development is difficult, boring, and very mathematical. We are going to create our own web server using "express" Express is a Node.js web application framework that makes making web applications easier. The goal of this article is to make backend development less intimidating for folks thinking to start learning backend.

  16. 16
    Article
    Avatar of devgeniusDev Genius·4y

    Wasp — language for developing full-stack Javascript web apps with no boilerplate

    Wasp is a new programming language for developing full-stack web apps with less code. It makes developing web apps easy while still allowing you to use the latest technologies like React, Node.js, and Prisma. In this post, we will share with you why we believe Wasp could be a big thing for web development.

  17. 17
    Article
    Avatar of leerobLee Robinson·4y

    Building a Design System Monorepo with Turborepo – Lee Robinson

    Turborepo is a high-performance build system for JavaScript and TypeScript codebases. It was designed after the workflows used by massive software engineering organizations to ship code at scale. Turborepo abstracts the complex configuration needed for monorepos and provides fast, incremental builds with zero-configuration remote caching.

  18. 18
    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.

  19. 19
    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.

  20. 20
    Article
    Avatar of pointerPointer·4y

    elastic/eui: Elastic UI Framework 🙌

    The Elastic UI Framework is a collection of React UI components for quickly building user interfaces at Elastic. As React components, they remove CSS from the process of building UIs. As a single source of truth, the framework allows our designers to make changes to our aesthetic directly in the code. Read the FAQ for details.

  21. 21
    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.

  22. 22
    Article
    Avatar of syncfusionSyncfusion·4y

    5 Different Ways to Deep Compare JavaScript Objects

    JavaScript has 7 primitive data types. We can compare the values of any of these types using an equality operator. However, comparing non-primitive types such as objects is tricky since the usual equality operators do not compare object values. In this article, we will discuss five different ways to determine the equality of JavaScript objects. The deep-equal library is another vastly popular NPM module with over 11 million weekly downloads.

  23. 23
    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.

  24. 24
    Article
    Avatar of devblogsDevBlogs·4y

    Announcing TypeScript 4.7

    The beta release of TypeScript 4.7 is now available. It includes ECMAScript Module Support in Node.js. The beta release is available for Visual Studio Code and Sublime Text 3. It also includes editor support for VCS 2022/2019 and VCS 3.5.

  25. 25
    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.