Bystrol/astro-medusa-starter — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a really fast ecommerce storefront using Astro with a Medusa backend and Stripe for payments. I want it to feel mostly static for speed, but still have interactive parts where they matter, like the cart, navigation, product variant selection, and checkout.

The site should have a landing page, a store page, product detail pages with an image carousel, a cart, a multi step checkout, and an order confirmation page. Please make the URLs start with a country code so pricing, currency, and shipping can change by region. I also want region detection and redirects handled automatically.

Products and listing pages should be generated ahead of time, but stock and variant availability should refresh in the browser so inventory stays accurate. The cart should persist for returning visitors. If products change in Medusa, the storefront should be easy to redeploy so the static pages stay in sync.

Please wire it up so it can run locally with env variables and be ready to deploy on Cloudflare Workers. If you need details, check the current docs online.

Want more depth? Deep Reverse