Cloudflare D1 with Drizzle
Typed D1 bindings, Drizzle's D1 driver, checked-in SQL migrations, and isolated local database tests without a Cloudflare account.
Category: service
In your existing repository
Ask your agent to check compatibility, follow this fragment’s brief, and verify the resulting project. What happens next
- Applies to:
- cloudflare-react-router
Add to your project
Paste the prompt into the coding agent working on your project.
View prompt
Or use the terminal
npx @steamfield/stacks add cloudflare-d1| Step | Phase | Layer | Command |
|---|---|---|---|
| db-generate | setup | install | bun run db:generate |
| db-migrate | setup | install | bun run db:migrate |
Use with a new stack
Starting fresh instead? These stacks support this fragment.
- cloudflare-react-routeroptional
npx @steamfield/stacks new cloudflare-react-router --with cloudflare-d1
Files
This fragment supplies instructions rather than project files.
Usage
Among stacks projects in the 28 days through 30 Oct 2026: 10 projects; Green rate: not enough runs yet.
Weekly projects by stack
Projects whose final fragment set included this fragment, grouped by stack.
Not enough published observations yet.
Not enough published observations yet.
Stacks projects per UTC week through 30 Oct 2026. Published stack counts only.
Data table
| Week ending | Stack | Projects |
|---|---|---|
| 5 Jul 2026 | cloudflare-react-router | – |
| 12 Jul 2026 | cloudflare-react-router | – |
| 19 Jul 2026 | cloudflare-react-router | – |
| 26 Jul 2026 | cloudflare-react-router | – |
| 2 Aug 2026 | cloudflare-react-router | – |
| 9 Aug 2026 | cloudflare-react-router | – |
| 16 Aug 2026 | cloudflare-react-router | – |
| 23 Aug 2026 | cloudflare-react-router | – |
| 30 Aug 2026 | cloudflare-react-router | – |
| 6 Sept 2026 | cloudflare-react-router | – |
| 13 Sept 2026 | cloudflare-react-router | – |
| 20 Sept 2026 | cloudflare-react-router | – |
| 27 Sept 2026 | cloudflare-react-router | – |
| 4 Oct 2026 | cloudflare-react-router | – |
| 11 Oct 2026 | cloudflare-react-router | – |
| 18 Oct 2026 | cloudflare-react-router | – |
| 25 Oct 2026 | cloudflare-react-router | – |
By stack
How often this fragment stays in a default composition, or gets attached as an option.
Stacks projects · 28 days through 30 Oct 2026. Counts rounded to 5.
Data table
| Stack | Projects | Role | Share |
|---|---|---|---|
| cloudflare-react-router | 10 | Optional · attached | 21% |
Green rate with and without it
This compares projects; it isn't an effect of the fragment.
Not enough runs in this breakdown yet.
Stacks projects · 28 days through 30 Oct 2026. Counts rounded to 5.
Often used with
Co-occurrence above the baseline, within a stack. Required fragment pairs are excluded.
Not enough runs in this breakdown yet.
Stacks projects · 28 days through 30 Oct 2026. Counts rounded to 5.
Computed 31 Oct 2026, through 30 Oct 2026. Numbers describe stacks projects, not the ecosystem.