Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/matthewp/astro-flyio-fastify-starter

Starter for using Fly.io and Fastify with Astro
https://github.com/matthewp/astro-flyio-fastify-starter

Last synced: about 2 months ago
JSON representation

Starter for using Fly.io and Fastify with Astro

Awesome Lists containing this project

README

        

# Astro + Fastify + Fly.io Starter

This is a minimal example with streaming support.

First, install the [Fly.io CLI](https://fly.io/docs/hands-on/install-flyctl/)

Then launch it with:

```shell
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.