Shop sales recording and reports
Translation pending
CommerceTypeScript · PLpgSQLGitHub @algobiry2016-uiOnlineOwner 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
نظام مبيعات المحل دوكمنتيشن
Translation pending
Taken from the repository README
Loading the full README.
Read the full README ↗نظام لتسجيل مبيعات محل الورد. المنسقون (رياض وسجيب) يسجلون كل عملية، والمدراء يستلمون تنبيه فوري على تيليجرام ويشوفون تقارير يومية وشهرية. كل الشاشات مكتوبة بالعربي والإنجليزي.
Next.js وSupabase (قاعدة بيانات PostgreSQL)، والاستضافة على Vercel. ويعمل على الجوال كتطبيق (PWA).
supabase/schema.sql كامل، ثم اضغط Run.Project URLanon public keyتحديثات قاعدة البيانات: إذا كانت القاعدة منشأة من قبل، شغّل ملفات
supabase/migrations/بالترتيب في SQL Editor (مثل002_gifts.sqlلخانة الهدية).
[email protected] (الرقم يبدأ بـ 966 وبدون الصفر).من Authentication → Users → Add user → Create new user أنشئ حساب لكل شخص، وفعّل Auto Confirm User.
الحساب لحاله ما يكفي: لازم تضيف الشخص لقائمة النظام في SQL Editor (غيّر الإيميل والاسم):
insert into shop_staff (id, full_name, role)
select id, 'الاسم / Name', 'employee' from auth.users where email = '[email protected]';
-- للمدير: اكتب 'admin' بدل 'employee'
/newbot، واختر اسم للبوت. يعطيك token.TELEGRAM_BOT_TOKEN، وسوِّ Redeploy./api/telegram/chats، وانسخ رقم القروب (يبدأ بـ -) إلى TELEGRAM_CHAT_ID في Vercel، وسوِّ Redeploy.الملخص اليومي (11 مساءً): أضف في Vercel SUPABASE_SECRET_KEY (من Supabase: Project Settings → API Keys → Secret key)، وCRON_SECRET (أي كلمة طويلة عشوائية)، وسوِّ Redeploy.
shop-sales.NEXT_PUBLIC_SUPABASE_URLNEXT_PUBLIC_SUPABASE_ANON_KEYTELEGRAM_BOT_TOKEN و TELEGRAM_CHAT_IDshop-sales.vercel.app.cp .env.example .env.local # وعبّي القيم
npm install
npm run dev