Zeeshan
Zeeshan
Explore posts from servers
CDCloudflare Developers
Created by Zeeshan on 9/16/2024 in #pages-help
how to use production d1 db in local
hi folks, i'm new to db world i have my d1 database defined in format on my wrangler.toml file.
[[d1_databases]]
binding = "CB_DB" # i.e. available in your Worker on env.DB
database_name = "cherry-blossom"
database_id = db id here
[[d1_databases]]
binding = "CB_DB" # i.e. available in your Worker on env.DB
database_name = "cherry-blossom"
database_id = db id here
I'm able to use it on deployed link but when on local host. when i query using d1 syntax or even drizzle, i get error D1_ERROR: no such table: products: SQLITE_ERROR is there a workaround for it?
3 replies
CDCloudflare Developers
Created by Zeeshan on 7/18/2024 in #general-help
Can i create custom web hook with cloudflare workers?
I have a third party form builder which i'm embedding on my website. it accepts a webhook url. i want to connect a webhook url and capture the form submission data and push it to D1. Is it possible to do such a setup with cloudflare workers? for context I'm already running my wesbite on astro+cf
5 replies
CDCloudflare Developers
Created by Zeeshan on 7/16/2024 in #general-help
Possibility of using email routing while email hosted elsewhere?
No description
8 replies
CDCloudflare Developers
Created by Zeeshan on 7/15/2024 in #general-help
Getting Error 522 on my pages project
No description
5 replies
CDCloudflare Developers
Created by Zeeshan on 7/12/2024 in #general-help
transferring active domain to cf
Hi folks, my domain and lives in porkbun that will expire in 2026, im thinking of moving to cf because i plan to use cf's email routing and email routing needs full setup. I wanted to know if there is a charge or something i need to pay for this now? or should i pay only for renewing later when it expires in 2026? where can i know more about this? edit: (i also host my email in porkbun) one more question: i plan to use astro with cf. and i have an idea of sending the form submissions to my email using email worker and custom addresses, say for example, sending from forms@yourdomain.com to name@yourdomain.com is it possible to leverage such a flow with using the current cloudflare's available products? Thanks in advance!
7 replies
CDCloudflare Developers
Created by Zeeshan on 7/12/2024 in #pages-help
Want to use workers with my astro site. Deployed to CF. What's next?
Hi folks, i have deployed my astro site to cf successfully. I want to know what's next. My end goal is to use cf functions for form submissions, and also use workers webhooks to listen to a third party tool. should i create a workers.toml file? if yes, is there a command to generate toml file without manually creating it? Also, if i want to use functions, should i use astro in ssr mode? thank you!
2 replies