Tablet-first restoran/kafe yönetim sistemi — masa düzeni, sipariş alma, kitchen display, Z-raporu ve menü yönetimi tek dense panelde. Excel + WhatsApp + ayrı sistem dağılımına son.

Sofra, küçük-orta ölçekli restoran ve kafelerin tek tabletten siparişten faturaya kadar tüm akışı yönetebilmesi için tasarlandı. Frontend tamamen browser-only (offline-first) çalışır; demo verisi localStorage'da saklanır. Production'da Rust/Axum + SQLite arka ucu ile multi-tenant SaaS olarak veya yerinde tek-binary kurulumla devreye alınabilir.
| Layer | Technology |
|---|---|
| Framework | Svelte 5 (rune-based reactivity, class-store pattern) |
| Build | Vite 7 |
| Styling | Tailwind CSS 4 (@tailwindcss/vite plugin) |
| State | POSStore class içinde $state field'ları + localStorage |
| Routing | Custom in-app router (history API + popstate) |
| Deploy | Cloudflare Pages |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|
git clone https://github.com/Lavescar-dev/sofra-pos.git
cd sofra-pos
npm install
npm run dev # → http://localhost:5173
Build:
npm run build # → dist/
npm run preview # built bundle önizleme
Demo verisini sıfırlamak için Navbar sağ üst ↻ Reset butonu.
Mevcut sürüm tamamen browser-only. Gerçek bir restorana bağlamak için:
firm_id, ortak menü templatesrc/lib/store.svelte.js katmanı tek API boundary; HTTP istemcisi swap'lemek için izole edilmiş.
Cloudflare Pages için doğrudan repo bağlanır:
| Field | Value |
|---|---|
| Build command | npm install && npm run build |
| Build output directory | dist |
| Node version | 20 |
MIT © 2026 Lavescar
Built by Lavescar · Portfolyo · [email protected]