FloCafe
FloCafe is the free, local-first restaurant POS in the FloPOS ecosystem. Run orders, tables, kitchen display, and local data without a software subscription.
翻訳待ち
No updates detected yet. GitHub releases will appear here.
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗Next.js 16 asosidagi o'quv loyihasi: do'kon sahifalari va admin panel.
npm install
npm run dev
Sayt: http://localhost:3000, admin panel: http://localhost:3000/admin
.env.local faylidagi ADMIN_PASSWORD dan olinadi (namuna: .env.example).
Dev rejimida parol sozlanmagan bo'lsa, vaqtinchalik admin123 ishlaydi; productionda parol majburiy.Tovarlar, bannerlar, buyurtmalar va arizalar serverdagi data/db.json faylida saqlanadi.
Fayl birinchi ishga tushirishda lib/products.ts va lib/promo-nestle.json dan avtomatik yaratiladi.
Boshlang'ich holatga qaytarish uchun serverni to'xtatib, data/db.json ni o'chiring.
Fayl-baza doimiy diskli serverda (VPS yoki o'z kompyuteringiz) ishlaydi. Vercel kabi serverless hostingda fayl saqlanib qolmaydi — u yerda haqiqiy ma'lumotlar bazasi (masalan, PostgreSQL) kerak bo'ladi.
Telefon raqamiga tasdiqlash kodi Eskiz.uz orqali yuboriladi (ESKIZ_EMAIL, ESKIZ_PASSWORD — .env.example ga qarang).
Sozlanmagan bo'lsa, dev rejimida kod ekranda va server konsolida ko'rsatiladi.
Sayt ikki tilda: o'zbekcha (prefikssiz, masalan /cart) va ruscha (/ru/cart).
Barcha matnlar lib/i18n.ts lug'atida; tovarlarning ruscha nomlari lib/products-ru.json da va admin paneldagi «Nomi (ruscha)» maydonida.
Til almashtirgich — sarlavhada (telefonda UZ/RU tugmasi). Admin panel faqat o'zbekcha.