feat(ecommerce): migrate Ari Shopping to Next.js 15 headless storefront v4
Build and Push Frontend / build (push) Failing after 5m39s
Build and Push Frontend / build (push) Failing after 5m39s
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
# Arquitectura tecnológica
|
||||
|
||||
```text
|
||||
Browser
|
||||
↓
|
||||
Next.js 15 App Router
|
||||
├─ Server Components / SSR / metadata SEO
|
||||
├─ React Client Components
|
||||
│ ├─ Motion microinteractions
|
||||
│ ├─ Radix/shadcn UI
|
||||
│ └─ Zustand persisted cart
|
||||
├─ Headless catalog interface
|
||||
│ ├─ Local mock JSON
|
||||
│ ├─ Shopify Storefront GraphQL
|
||||
│ └─ Medusa Store REST
|
||||
└─ next/image optimization
|
||||
↓
|
||||
Docker standalone :80
|
||||
↓
|
||||
Gitea Actions → Registry → Argo CD → Kubernetes
|
||||
```
|
||||
|
||||
## Decisiones
|
||||
|
||||
- Mobile-first y componentes interactivos aislados como Client Components.
|
||||
- Datos y layout principal renderizados desde Server Components.
|
||||
- Modelo de dominio independiente del proveedor e-commerce.
|
||||
- Carrito local persistente; posteriormente puede sincronizarse con checkout remoto.
|
||||
- Las imágenes reales de Ari Shopping viven en `public/images`.
|
||||
Reference in New Issue
Block a user