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

---
title: Best Arcjet posts of 2024 | daily.dev
description: The most upvoted Arcjet posts of 2024, curated by the daily.dev community.
canonical: https://daily.dev/sources/arcjet/best-of/2024
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/sources/arcjet/best-of/2024
og:type: website
og:site_name: daily.dev
og:title: Best Arcjet posts of 2024 | daily.dev
og:description: The most upvoted Arcjet 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 Arcjet — 2024

1. 1  
[](/posts/a-modern-approach-to-secure-apis-with-node-js-express-typescript-and-esm-dpqbpigbz "A Modern Approach to Secure APIs with Node.js, Express, TypeScript, and ESM")  
[![arcjet's profile](https://media.daily.dev/image/upload/s--4isatHz8--/f_auto/v1719499244/logos/arcjet)](/sources/[source]/best-of/[year])  
7m read time • Aug 23, 2024  
### A Modern Approach to Secure APIs with Node.js, Express, TypeScript, and ESM  
Learn to build a modern, secure Node.js API with Express, TypeScript, and ESM. Configure TypeScript with Express, enable hot-reloading with nodemon, and secure your API using Arcjet for rate-limiting and bot protection. The guide includes steps to initialize a Node.js project, configure a TypeScript setup, set up an Express server, and integrate security measures while ensuring smooth development with hot-reloading.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/76ddc3942684af5d39786afa9708a243?_a=AQAEuiZ)  
80  
1
2. 2  
[](/posts/security-advice-for-self-hosting-next-js-in-docker-u1tfcmcug "Security advice for self-hosting Next.js in Docker")  
[![arcjet's profile](https://media.daily.dev/image/upload/s--4isatHz8--/f_auto/v1719499244/logos/arcjet)](/sources/[source]/best-of/[year])  
7m read time • Jul 04, 2024  
### Security advice for self-hosting Next.js in Docker  
Learn how to ensure the security of your self-hosted Next.js applications by following best practices for container image selection, secret management, and running as a non-root user. This guide emphasizes proactive security measures, including using a minimal runtime environment, avoiding the inclusion of a shell for production containers, and leveraging external secret managers like 1Password to keep sensitive information safe.

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/c7d70c01c5c531f5e99ed4a74bdf8a21?_a=AQAEuiZ)  
39
3. 3  
[](/posts/next-js-server-action-security-doqdss1n4 "Next.js server action security")  
[![arcjet's profile](https://media.daily.dev/image/upload/s--4isatHz8--/f_auto/v1719499244/logos/arcjet)](/sources/[source]/best-of/[year])  
8m read time • Nov 25, 2024  
### Next.js server action security  
Server actions simplify handling user actions in Next.js by automatically generating POST requests. Despite their simplicity, they pose security risks as all server actions are public HTTP endpoints. To secure them, developers should treat them like traditional APIs, ensuring proper authentication and validation. Next.js's new non-deterministic ID references and experimental settings aid in protection, but additional measures such as input validation and tools like Arcjet for rate limiting and protection against attacks are recommended.

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/c3e0670e431411f97e8636ba430ec8ca?_a=AQAEuj9)  
27
4. 4  
[](/posts/node-js-security-dynamic-rate-limiting-with-arcjet-and-launchdarkly-anhb7cvjl "Node.js Security: Dynamic Rate Limiting with Arcjet and LaunchDarkly")  
[![arcjet's profile](https://media.daily.dev/image/upload/s--4isatHz8--/f_auto/v1719499244/logos/arcjet)](/sources/[source]/best-of/[year])  
8m read time • Jul 15, 2024  
### Node.js Security: Dynamic Rate Limiting with Arcjet and LaunchDarkly  
This guide walks you through setting up dynamic rate limiting in a Node.js application using Arcjet and LaunchDarkly. By leveraging feature flags, you can adjust rate limits and security settings in real-time without redeploying your application. This flexible approach enhances your application's resilience and allows for immediate responses to changing conditions or threats.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/f321851ca7be1b7b6447ae0f89c034c7?_a=AQAEuiZ)  
27
5. 5  
[](/posts/whatever-happened-to-devsecops--bvq5eyjzm "Whatever happened to DevSecOps?")  
[![arcjet's profile](https://media.daily.dev/image/upload/s--4isatHz8--/f_auto/v1719499244/logos/arcjet)](/sources/[source]/best-of/[year])  
2m read time • Aug 29, 2024  
### Whatever happened to DevSecOps?  
The concept of DevSecOps aimed to integrate security throughout the development lifecycle, but it hasn't worked out as planned. The clash between development speed and security needs remains an issue. The future might resemble the rise of Site Reliability Engineering (SRE), where dedicated security teams build tools and provide guidance, allowing developers to handle application-specific security details. This approach mirrors platform engineering with a security focus.

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/06ce74bd0ef03e0f3c669d52f0860f81?_a=AQAEuiZ)  
19  
2
6. 6  
[](/posts/hacking-and-securing-graphql-wqd8iex2b "Hacking (and securing) GraphQL")  
[![arcjet's profile](https://media.daily.dev/image/upload/s--4isatHz8--/f_auto/v1719499244/logos/arcjet)](/sources/[source]/best-of/[year])  
13m read time • Nov 06, 2024  
### Hacking (and securing) GraphQL  
GraphQL, a flexible API query language, can pose various security risks like DoS attacks, SQL injection, and XSS if not properly secured. To safeguard your GraphQL endpoints, implement measures such as disabling introspection, setting timeouts, limiting query complexity, and layering security protections. Using tools like Arcjet and GraphQL Armor can fortify your API against these vulnerabilities by integrating security at the application level.

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/ce5f28821213fa00b9cfa5ca22fb13b6?_a=AQAEuj9)  
16
7. 7  
[](/posts/new-sdk-release-for-next-js-15-nwysubfou "New SDK release for Next.js 15")  
[![arcjet's profile](https://media.daily.dev/image/upload/s--4isatHz8--/f_auto/v1719499244/logos/arcjet)](/sources/[source]/best-of/[year])  
2m read time • Oct 23, 2024  
### New SDK release for Next.js 15  
Arcjet has released a new version of its security SDK with performance enhancements and full compatibility with Next.js 15\. Key updates include asynchronous decision reporting through the waitUntil function, support for async request APIs to align with Next.js's new incremental rendering model, and native support for server actions using the Next.js Form component. Additionally, improvements to sensitive information detection algorithms and optimization of memory usage and data transfer are part of this release.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/494af80276410434591bd677cda57056?_a=AQAEuiZ)  
11
8. 8  
[](/posts/rethinking-our-rest-api-building-the-golden-api-7mjcamboi "Rethinking our REST API: Building the Golden API")  
[![arcjet's profile](https://media.daily.dev/image/upload/s--4isatHz8--/f_auto/v1719499244/logos/arcjet)](/sources/[source]/best-of/[year])  
11m read time • Nov 19, 2024  
### Rethinking our REST API: Building the Golden API  
Every company faces the need to reassess their tools. For Arcjet, this meant rebuilding their unmanageable REST API from the ground up with a focus on maintainability, performance, and scalability. They shifted from Next.js to Go for their backend while retaining Next.js for the frontend. They adopted an OpenAPI-first approach to define their API, which improved documentation and contract management. The new setup also required better security practices, such as avoiding public database endpoints. Testing the new API was streamlined with Go's simplicity and robustness. The transition resulted in a faster, more secure, and easily maintainable API.

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/151c2b5220c10c061e99b5ca27192a87?_a=AQAEuj9)  
10

[See all Arcjet archives](/sources/arcjet/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/arcjet/best-of/2024#page","url":"https://daily.dev/sources/arcjet/best-of/2024","name":"Best Arcjet Posts of 2024","description":"The most upvoted Arcjet posts of 2024, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/arcjet/best-of/2024#items","numberOfItems":8,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/a-modern-approach-to-secure-apis-with-node-js-express-typescript-and-esm-dpqbpigbz","name":"A Modern Approach to Secure APIs with Node.js, Express, TypeScript, and ESM"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/security-advice-for-self-hosting-next-js-in-docker-u1tfcmcug","name":"Security advice for self-hosting Next.js in Docker"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/next-js-server-action-security-doqdss1n4","name":"Next.js server action security"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/node-js-security-dynamic-rate-limiting-with-arcjet-and-launchdarkly-anhb7cvjl","name":"Node.js Security: Dynamic Rate Limiting with Arcjet and LaunchDarkly"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/whatever-happened-to-devsecops--bvq5eyjzm","name":"Whatever happened to DevSecOps?"},{"@type":"ListItem","position":6,"url":"https://daily.dev/posts/hacking-and-securing-graphql-wqd8iex2b","name":"Hacking (and securing) GraphQL"},{"@type":"ListItem","position":7,"url":"https://daily.dev/posts/new-sdk-release-for-next-js-15-nwysubfou","name":"New SDK release for Next.js 15"},{"@type":"ListItem","position":8,"url":"https://daily.dev/posts/rethinking-our-rest-api-building-the-golden-api-7mjcamboi","name":"Rethinking our REST API: Building the Golden API"}]},{"@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":"Arcjet","item":"https://daily.dev/sources/arcjet"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/arcjet/best-of"},{"@type":"ListItem","position":5,"name":"2024"}]}]}
```

