D1 with NextJS
Hey, I don't know if someone can help me understand how best to integrate D1 with NextJS. I am confused between whether I should be using a separate Worker, or if I should be using a binding directly in the Page (web app).
1 Reply
I followed this tutorial on its own. It just seems like an extra step to create this individual Worker, separate from the page. https://developers.cloudflare.com/d1/get-started
Get started · Cloudflare D1 docs
This guide will instruct you through: