Cloudflare Stack (D1 + R2 + Lucia + Drizzle on Cloudflare Pages)

Since you're planning on working on R2, I think it would be cool to have stack with D1 setup as well.

I think this is a good example, the only gripe I have with it is that it's using cfw-bindings-wrangler-bridge dependency which I don't think is needed: https://github.com/Tou-u/svelte-lucia-cf-d1

I like Turso, but I believe cloudflare stack with D1 has the highest cap for serverless/edge setup since the the server and db are always going to be at the same location so roundtrips are minimal. That's not the case with Turso & Vercel stack for example because infra is just different.

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board

💡 Feature Request

Date

10 months ago

Author

Milos Nikolic

Subscribe to post

Get notified by email when there are changes.