Polanddigity-studio/astro-medusa-starter
Astro + Medusa starter for e-commerce. Optimized to the core.
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository Của Tháng
#1 Repository Của Tháng
#1 Repository Của Tháng
⚡ Starter e-commerce edge tốc độ ánh sáng với Astro + Medusa v2
Static-first, interactive where it matters — triển khai ngay trên Cloudflare Workers.
Astro Medusa Storefront là một starter e-commerce mã nguồn mở được xây dựng bởi Digity Studio, kết hợp Astro 6, React 19, Tailwind CSS v4 và Medusa v2 để tạo ra trang cửa hàng tĩnh siêu nhanh, tối ưu hiệu năng tối đa. Dự án áp dụng kiến trúc static-first, chỉ hydrate React ở những nơi cần thiết như giỏ hàng, thanh điều hướng và checkout.
✨ Điểm nổi bật
- Static-first architecture: Trang sản phẩm, danh sách cửa hàng và trang chủ được tạo tĩnh tại thời điểm build.
- Edge deployment: Triển khai lên Cloudflare Workers để giảm độ trễ toàn cầu.
- Interactive islands: React chỉ tải cho các thành phần tương tác (giỏ hàng, nav, checkout).
- Real-time inventory: Kiểm tra tồn kho biến thể sản phẩm qua client-side fetch.
- Webhook re-deploy: Medusa webhooks tự động trigger rebuild khi sản phẩm thay đổi.
- Region-based routing: Tất cả route đều có tiền tố mã quốc gia ISO-2 để hỗ trợ giá cả và vận chuyển theo khu vực.
- State management nhẹ: Dùng Nanostores + localStorage để lưu trữ giỏ hàng phía client.
- Checkout đa bước: Luồng thanh toán bao gồm địa chỉ, vận chuyển và thanh toán bằng Stripe.
💡 Vì sao đáng chú ý
Khác với các giải pháp e-commerce truyền thống nặng nề, Astro Medusa Storefront tận dụng sức mạnh của Astro để giảm đáng kể kích thước bundle, chỉ tải JavaScript khi thực sự cần thiết. Kết hợp với Medusa v2 làm backend headless và Stripe cho thanh toán an toàn, dự án cung cấp một nền tảng mạnh mẽ và mở rộng.
#Astro #MedusaJS #Ecommerce #CloudflareWorkers #OpenSource #TiniX
Similar Projects
Discover other similar projects and AI models.
The complete open source platform to run your entire marketplace. Storefront, vendor panel, admin console, and integrations in one enterprise-grade platform you own.
The world's most flexible commerce platform for agents and developers
Open-source headless commerce platform built with TypeScript, NestJS, React, and GraphQL
A performant frontend ecommerce starter template with Next.js
Official Medusa B2B Starter template. Features common B2B ecommerce requirements and can be easily adapted and extended.
Open-source React Native storefront for Medusa v2: browsing, search, cart, checkout, accounts and themes for iOS and Android
A simple Astro theme. Use it to create your blog or website.