Astro + Fastify + Fly.io Starter
This is a minimal example with streaming support.
First, install the Fly.io CLI
Then launch it with:
flyctl launch
Walk through the guide and congrats!
Fastify routes
You can use api/index.js
to define any Fastify routes or plugins. This is a useful way to extend your server with Fastify's ecosystem of add-ons.