3 min read
![](https://simonplend.com/wp-content/uploads/2022/09/og-deploying-a-node-app-and-postgres-database-to-fly-io-1-1200x630.png)
6 min read Jump links Prepare the application for deployment Configure the Node.js server to listen on all network interfaces Set a Node.js version in package.json Set up the Fly CLI We’ll use the Fly CLI for creating, configuring and deploying our application to Fly. We can follow the Installing flyctl documentation to install the Fly CLI. Once […]
4 min read Jump links Fastify hooks and encapsulation contexts Example of an onSend hook Set headers for a collection of routes Set headers for all server routes Approach 1: Register an onSend hook in the server’s root context Approach 2: Register an onSend hook inside a plugin and wrap it with fastify-plugin Useful links
![](https://simonplend.com/wp-content/uploads/2022/03/cover-image-whats-new-in-node-js-core-march-2022-1200x630.png)
3 min read 🌟 New features 🎞️ Video walkthrough 💎 Other notable features 📅 Node.js releases
The Fetch API in Node.js
< 1 min read Example Support in Node.js When can you use it in production? Related links