Svelte + Vite + Tailwind ile sıfırdan inşa edilmiş skincare storefront demosu. Ürün listeleme, modal ürün detayı, sepet, checkout, sipariş takibi, profil ve istek listesi — tamamen tarayıcı tarafında, localStorage ile sürekli kalıcılık.

Lumina, tek dosyalı bir HTML tasarımının modern bileşen tabanlı Svelte 5 yapısına taşınmış halidir. Görsel kimlik korunurken durum yönetimi Svelte reaktivitesine yeniden yazıldı; sepet, kullanıcı oturumu ve istek listesi localStorage ile sürekli kalıcılık sağlar. Backend gerektirmez — gerçek bir e-ticarete bağlamak isteyen ekipler için Rust/Axum tabanlı bir API katmanı eklenebilir.
| Layer | Technology |
|---|---|
| Framework | Svelte 5 (rune-based reactivity) |
| Build | Vite 7 |
| Styling | Tailwind CSS 4 (@tailwindcss/vite plugin) |
| State | Module-scoped $state() stores + localStorage |
| Images | Unsplash (uzaktan yüklenir) |
| Deploy | Cloudflare Pages |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|
git clone https://github.com/Lavescar-dev/e-commerce.git
cd e-commerce/lumina-svelte
npm install
npm run dev # → http://localhost:5173
Build:
npm run build # → dist/
npm run preview # built bundle önizleme
e-commerce/
└── lumina-svelte/ # Vite + Svelte workspace (canonical)
├── src/
├── public/
└── package.json
Mevcut sürüm tamamen browser-only çalışır. Gerçek bir e-ticarete bağlamak için:
localStorage katmanı src/stores/ içinde izole; aynı arayüzü implement eden bir HTTP istemcisi yazıp swap edilebilir.
Cloudflare Pages için doğrudan repo bağlanır:
| Field | Value |
|---|---|
| Build command | cd lumina-svelte && npm install && npm run build |
| Build output directory | lumina-svelte/dist |
| Node version | 20 |
MIT © 2026 Lavescar
Ürün görselleri Unsplash'tan demo amaçlı yüklenir.
Built by Lavescar · Portfolyo · [email protected]