3 min read
Category: Node.js
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
3 min read 🌟 New features 🎞️ Video walkthrough 💎 Other notable features 📅 Node.js releases
Get started with validation in Node.js
4 min read A powerful validation duo Creating a schema and validating data Schema generation Try it yourself Wrapping up Further reading