Eksklyuziv tovarlar va aksiyalar. 1 kunda bepul yetkazib berish.
Translation pending
CommerceTypeScript · CSSGitHub @abdulazizhatamov011-cyberOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
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.