I'm not sure if I understand your question correctly, but I believe you can build your astro applica
I'm not sure if I understand your question correctly, but I believe you can build your astro application locally and connect to your remote D1 using
wrangler pages dev --d1=<your d1> --remote
