Thomas Bouldin @inlined.dev · Feb 17

You can host this on any express path you want now. Streaming is automatic, and auth/context middleware is platform agnostic. Here, we use the "apiKey" middleware which stores, and optionally validates, an API key.

0 likes 1 replies

?

Replies

Thomas Bouldin · Feb 17

For Next.js we'll use the firebaseContext middleware to enforce App Check and type safe client API. Again, if your flow supports streaming, so does the handler: