<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/sources/appsignal/best-of/2024" -->

---
title: Best AppSignal posts of 2024 | daily.dev
description: The most upvoted AppSignal posts of 2024, curated by the daily.dev community.
canonical: https://daily.dev/sources/appsignal/best-of/2024
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/sources/appsignal/best-of/2024
og:type: website
og:site_name: daily.dev
og:title: Best AppSignal posts of 2024 | daily.dev
og:description: The most upvoted AppSignal posts of 2024, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of AppSignal — 2024

1. 1  
[](/posts/how-to-perform-data-validation-in-node-js-flmpbpujn "How to Perform Data Validation in Node.js")  
[![appsignal's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/60b55a8dfc5448bd9daad08aea11a7a3)](/sources/[source]/best-of/[year])  
12m read time • Jun 19, 2024  
### How to Perform Data Validation in Node.js  
Data validation is crucial in both frontend and backend applications to ensure data correctness, consistency, and security. This tutorial focuses on implementing data validation in Node.js using the express-validator library. It covers the importance and benefits of validating incoming requests, explains validation chains and schema-based validation, and provides sample code for validating route parameters, query parameters, and body data in an Express application.

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/1d08fd1c96e86a1ea6489dd802286a39?_a=AQAEuiZ)  
144  
2
2. 2  
[](/posts/unit-testing-in-node-js-with-jest-ovqcxkarx "Unit Testing in Node.js With Jest")  
[![appsignal's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/60b55a8dfc5448bd9daad08aea11a7a3)](/sources/[source]/best-of/[year])  
9m read time • Nov 27, 2024  
### Unit Testing in Node.js With Jest  
Unit tests improve the reliability and robustness of backend applications. Jest is a popular, free JavaScript testing framework known for its intuitive API, zero-configuration approach, and native integration with tools like Babel and Webpack. Jest supports writing unit, integration, and snapshot tests in JavaScript and TypeScript. Its main features include an intuitive BDD-like API, human-readable assertions, high configurability, and robust mocking capabilities. To integrate Jest into a Node.js project, one needs to install Jest, set up a configuration file, organize test files, and run tests to verify their functionality. Advanced users can explore Jest's extensive documentation and community resources for more in-depth guidance and support.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/9fb1d69932c6f700f46ee095bcf4578f?_a=AQAEuj9)  
69  
2
3. 3  
[](/posts/a-deep-dive-into-commonjs-and-es-modules-in-node-js-ofrxerooj "A Deep Dive Into CommonJS and ES Modules in Node.js")  
[![appsignal's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/60b55a8dfc5448bd9daad08aea11a7a3)](/sources/[source]/best-of/[year])  
14m read time • Dec 11, 2024  
### A Deep Dive Into CommonJS and ES Modules in Node.js  
Node.js has increasingly adopted ES modules as the preferred method for JavaScript modularization, offering a standardized solution compatible across different runtimes. This post explains the core differences between CommonJS and ES modules, highlighting the benefits of using ESM, such as browser compatibility, asynchronous loading, and improved static analysis. It also provides practical guidance for transitioning from CommonJS to ES modules, discussing how Node.js supports both module systems and the steps needed to migrate codebases.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/2666a41441e46a19d0cfae0380836fa1?_a=AQAEuj9)  
57  
5
4. 4  
[](/posts/what-s-new-in-node-js-22-mold8smnc "What's New in Node.js 22")  
[![appsignal's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/60b55a8dfc5448bd9daad08aea11a7a3)](/sources/[source]/best-of/[year])  
6m read time • May 07, 2024  
### What's New in Node.js 22  
Node.js 22 offers a stable release with new features such as stabilized Watch mode, default-enabled WebSocket client, and a new --run flag for script execution. It also includes enhancements to loading ES Modules with require(), pattern matching in the fs module, AbortSignal performance, Stream highWaterMark, and an upgrade to V8 v12.4\. Upgrading can be done through direct download or using a version management tool like Volta.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/1649c33c9d8c538f32399752c1bc6397?_a=AQAEuiZ)  
34
5. 5  
[](/posts/monitor-bullmq-background-jobs-with-appsignal-sw3yii7at "Monitor BullMQ Background Jobs with AppSignal")  
[![appsignal's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/60b55a8dfc5448bd9daad08aea11a7a3)](/sources/[source]/best-of/[year])  
5m read time • Jul 30, 2024  
### Monitor BullMQ Background Jobs with AppSignal  
AppSignal now supports monitoring BullMQ jobs with its Node.js package (version 3.4.5 or higher). It automatically instruments BullMQ for error reporting and performance monitoring. Users can set up AppSignal by installing the package, creating an account, and configuring a valid API key. Key insights provided include error reports, function call tracking, and performance samples, helping to manage and resolve issues efficiently in BullMQ jobs.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/65965b38f13d1831fa5246f046be2a53?_a=AQAEuiZ)  
22
6. 6  
[](/posts/scaling-your-phoenix-app-in-elixir-with-flame-f1cce4ign "Scaling Your Phoenix App in Elixir with FLAME")  
[![appsignal's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/60b55a8dfc5448bd9daad08aea11a7a3)](/sources/[source]/best-of/[year])  
12m read time • Sep 03, 2024  
### Scaling Your Phoenix App in Elixir with FLAME  
FLAME is a new tool developed by the core Phoenix team to offload intensive tasks to remote nodes efficiently. It integrates seamlessly with Phoenix applications, offering built-in automatic scaling, minimal boilerplate code, and the ability to await results from background tasks. FLAME differs from other background job processing methods such as Task.async, Oban, and external serverless functions by simplifying setup and enhancing performance. It helps improve application responsiveness and offloads tasks from the main pipeline, making it an effective solution for scalable background job management in Elixir applications.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/bc986b43aa4dec5a940b099e805f5a9d?_a=AQAEuiZ)  
20
7. 7  
[](/posts/deploy-a-python-fastapi-application-to-render-0quuioxls "Deploy a Python FastAPI Application to Render")  
[![appsignal's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/60b55a8dfc5448bd9daad08aea11a7a3)](/sources/[source]/best-of/[year])  
9m read time • Jun 27, 2024  
### Deploy a Python FastAPI Application to Render  
FastAPI offers high performance for building APIs with its asynchronous ASGI server, which can handle multiple requests concurrently. Render is a cloud platform that allows developers to test applications in a production environment for free, offering features like easy GitHub integration and automatic TLS certificates. The guide provides step-by-step instructions to create a FastAPI app, deploy it to Render, and set up AppSignal for monitoring deployments.

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/d8d489ecdb99bfc0cdd8c866dcd43633?_a=AQAEuiZ)  
17
8. 8  
[](/posts/understanding-offset-and-cursor-based-pagination-in-node-js-fseb6dzaj "Understanding Offset and Cursor-Based Pagination in Node.js")  
[![appsignal's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/60b55a8dfc5448bd9daad08aea11a7a3)](/sources/[source]/best-of/[year])  
11m read time • May 15, 2024  
### Understanding Offset and Cursor-Based Pagination in Node.js  
This post explores offset-based and cursor-based server-side pagination approaches, comparing them and implementing cursor-based pagination in Node.js.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/2a771675fc12250bd12de36d1001ac78?_a=AQAEuiZ)  
18
9. 9  
[](/posts/exploring-the-node-js-native-test-runner-spujcj0je "Exploring the Node.js Native Test Runner")  
[![appsignal's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/60b55a8dfc5448bd9daad08aea11a7a3)](/sources/[source]/best-of/[year])  
17m read time • Jul 17, 2024  
### Exploring the Node.js Native Test Runner  
Node.js has introduced a stable test runner in its standard library starting from version 18\. This inclusion aims to emphasize the importance of testing as an integral part of development and to provide core tooling out-of-the-box, addressing the minimalist philosophy traditionally held by Node.js. The post walks through the core capabilities of the test runner, from writing and executing tests to organizing and customizing them. It also demonstrates the usage through examples, showing how to write unit tests, run them, handle test failures, and organize test cases.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/6f1f3c6c5d13f57162fb1abaa92477cd?_a=AQAEuiZ)  
15  
1
10. 10  
[](/posts/avoiding-false-positives-in-node-js-tests-la7jcxv8n "Avoiding False Positives in Node.js Tests")  
[![appsignal's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/60b55a8dfc5448bd9daad08aea11a7a3)](/sources/[source]/best-of/[year])  
12m read time • Nov 20, 2024  
### Avoiding False Positives in Node.js Tests  
False positives in test suites can lead to hidden bugs and unreliable applications. This post highlights several common patterns that result in false positives in Node.js tests, such as using loose equality assertions (\`equal()\` vs. \`strictEqual()\`), overly general assertions, shallow equality for deep comparisons, misunderstanding assertion behaviors, forgetting to call matchers, misusing mocks, incorrect use of regex, copy-paste errors, incorrect properties in configuration objects, and misusing snapshot tests. Careful attention to these pitfalls can improve the reliability of your tests.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/733d08c508cbd5957f6001b71f46fe37?_a=AQAEuj9)  
15
11. 11  
[](/posts/enhancing-your-elixir-codebase-with-gleam-4qjud2fzb "Enhancing Your Elixir Codebase with Gleam")  
[![appsignal's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/60b55a8dfc5448bd9daad08aea11a7a3)](/sources/[source]/best-of/[year])  
16m read time • Jul 23, 2024  
### Enhancing Your Elixir Codebase with Gleam  
Enhance your Elixir codebase with the type safety of Gleam, a statically typed language for the BEAM platform. By integrating Gleam with your Elixir projects, you can ensure robust and reliable business logic while maintaining the dynamic flexibility of Elixir. This post provides a detailed guide to setting up a Phoenix project, integrating Gleam, writing and testing business logic, and managing features like waitlists for student enrollment in a university application.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/643a366b3bff708b91d956fbb68e9c24?_a=AQAEuiZ)  
15  
2
12. 12  
[](/posts/cypress-vs-playwright-for-node-a-head-to-head-comparison-rfiafnsmc "Cypress vs. Playwright for Node: A Head-to-Head Comparison")  
[![appsignal's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/60b55a8dfc5448bd9daad08aea11a7a3)](/sources/[source]/best-of/[year])  
10m read time • May 22, 2024  
### Cypress vs. Playwright for Node: A Head-to-Head Comparison  
A comparison of the Cypress and Playwright frameworks for end-to-end testing and browser automation. The post explores their features, similarities, and differences, and provides guidance on choosing the appropriate framework for specific testing requirements.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/4b3485112561c102de1335736ac22c30?_a=AQAEuiZ)  
15
13. 13  
[](/posts/integrating-stripe-into-a-one-product-django-python-shop-ivthcncfh "Integrating Stripe Into A One-Product Django Python Shop")  
[![appsignal's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/60b55a8dfc5448bd9daad08aea11a7a3)](/sources/[source]/best-of/[year])  
10m read time • Sep 04, 2024  
### Integrating Stripe Into A One-Product Django Python Shop  
This guide covers integrating Stripe for secure payment handling in a one-product Django online shop. It explains setting up Stripe, creating checkout sessions, handling webhooks for payment events, saving order information, and notifying users through emails. Additionally, it provides tips for optimizing the store and creating an extendable e-commerce site.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/15400dc0f9cfeb6f1915de7df84a5035?_a=AQAEuiZ)  
14
14. 14  
[](/posts/effective-testing-in-javascript-uu37b6wxx "Effective Testing in JavaScript")  
[![appsignal's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/60b55a8dfc5448bd9daad08aea11a7a3)](/sources/[source]/best-of/[year])  
9m read time • May 08, 2024  
### Effective Testing in JavaScript  
Thorough testing doesn’t have to be arduous and there are effective techniques that can save time without compromising quality of code.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/19275593b6e2467af136830f473a94c7?_a=AQAEuiZ)  
14
15. 15  
[](/posts/streamlined-contract-testing-in-node-js-a-simple-and-achievable-approach-qop83efz5 "Streamlined Contract Testing in Node.js: A Simple and Achievable Approach")  
[![appsignal's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/60b55a8dfc5448bd9daad08aea11a7a3)](/sources/[source]/best-of/[year])  
17m read time • Nov 13, 2024  
### Streamlined Contract Testing in Node.js: A Simple and Achievable Approach  
Learn a simplified approach to contract testing in Node.js that drastically reduces effort while maintaining benefits. This guide demonstrates setting up contract tests for REST APIs using Jest, Axios, and JSON schemas. It also explores mocking databases and message queues to enhance the speed and efficiency of automated tests. This practical method can be integrated into CI/CD pipelines without requiring significant changes to infrastructure or processes.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/66b4404bbf6717cca86fd44a1abcd3bf?_a=AQAEuj9)  
13
16. 16  
[](/posts/appsignal-s-top-5-javascript-posts-in-2024-37jx8rpil "AppSignal’s Top 5 JavaScript Posts in 2024")  
[![appsignal's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/60b55a8dfc5448bd9daad08aea11a7a3)](/sources/[source]/best-of/[year])  
1m read time • Dec 17, 2024  
### AppSignal’s Top 5 JavaScript Posts in 2024  
Reflecting on 2024, the top JavaScript posts include guides on data validation in Node.js, the recent updates to the V8 engine, a comparison of top HTTP request libraries, the performance benefits of Bun over Node.js, and implementing rate limiting in Express.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/8916b963efd82af3da35996a2c584910?_a=AQAEuj9)  
11

[See all AppSignal archives](/sources/appsignal/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/sources/appsignal/best-of/2024#page","url":"https://daily.dev/sources/appsignal/best-of/2024","name":"Best AppSignal Posts of 2024","description":"The most upvoted AppSignal posts of 2024, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/appsignal/best-of/2024#items","numberOfItems":16,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/how-to-perform-data-validation-in-node-js-flmpbpujn","name":"How to Perform Data Validation in Node.js"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/unit-testing-in-node-js-with-jest-ovqcxkarx","name":"Unit Testing in Node.js With Jest"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/a-deep-dive-into-commonjs-and-es-modules-in-node-js-ofrxerooj","name":"A Deep Dive Into CommonJS and ES Modules in Node.js"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/what-s-new-in-node-js-22-mold8smnc","name":"What's New in Node.js 22"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/monitor-bullmq-background-jobs-with-appsignal-sw3yii7at","name":"Monitor BullMQ Background Jobs with AppSignal"},{"@type":"ListItem","position":6,"url":"https://daily.dev/posts/scaling-your-phoenix-app-in-elixir-with-flame-f1cce4ign","name":"Scaling Your Phoenix App in Elixir with FLAME"},{"@type":"ListItem","position":7,"url":"https://daily.dev/posts/deploy-a-python-fastapi-application-to-render-0quuioxls","name":"Deploy a Python FastAPI Application to Render"},{"@type":"ListItem","position":8,"url":"https://daily.dev/posts/understanding-offset-and-cursor-based-pagination-in-node-js-fseb6dzaj","name":"Understanding Offset and Cursor-Based Pagination in Node.js"},{"@type":"ListItem","position":9,"url":"https://daily.dev/posts/exploring-the-node-js-native-test-runner-spujcj0je","name":"Exploring the Node.js Native Test Runner"},{"@type":"ListItem","position":10,"url":"https://daily.dev/posts/avoiding-false-positives-in-node-js-tests-la7jcxv8n","name":"Avoiding False Positives in Node.js Tests"},{"@type":"ListItem","position":11,"url":"https://daily.dev/posts/enhancing-your-elixir-codebase-with-gleam-4qjud2fzb","name":"Enhancing Your Elixir Codebase with Gleam"},{"@type":"ListItem","position":12,"url":"https://daily.dev/posts/cypress-vs-playwright-for-node-a-head-to-head-comparison-rfiafnsmc","name":"Cypress vs. Playwright for Node: A Head-to-Head Comparison"},{"@type":"ListItem","position":13,"url":"https://daily.dev/posts/integrating-stripe-into-a-one-product-django-python-shop-ivthcncfh","name":"Integrating Stripe Into A One-Product Django Python Shop"},{"@type":"ListItem","position":14,"url":"https://daily.dev/posts/effective-testing-in-javascript-uu37b6wxx","name":"Effective Testing in JavaScript"},{"@type":"ListItem","position":15,"url":"https://daily.dev/posts/streamlined-contract-testing-in-node-js-a-simple-and-achievable-approach-qop83efz5","name":"Streamlined Contract Testing in Node.js: A Simple and Achievable Approach"},{"@type":"ListItem","position":16,"url":"https://daily.dev/posts/appsignal-s-top-5-javascript-posts-in-2024-37jx8rpil","name":"AppSignal’s Top 5 JavaScript Posts in 2024"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Sources","item":"https://daily.dev/sources"},{"@type":"ListItem","position":3,"name":"AppSignal","item":"https://daily.dev/sources/appsignal"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/appsignal/best-of"},{"@type":"ListItem","position":5,"name":"2024"}]}]}
```

