尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Multi-role sand-trading & logistics platform — Supabase-backed dashboards for admin/buyer/trader/supplier/driver, Gemini-powered smart-matching, automated e-challan and monthly bill generation
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
Vector — Sand Trading & Logistics Platform
A multi-role B2B platform for live sand trading, dispatch, and billing. Buyers, traders, suppliers, drivers, and admins each get a dedicated dashboard backed by Supabase, with Gemini AI handling smart-matching, assignment suggestions, and document extraction.檢視完整 README ↗A multi-role B2B platform for live sand trading, dispatch, and billing. Buyers, traders, suppliers, drivers, and admins each get a dedicated dashboard backed by Supabase, with Gemini AI handling smart-matching, assignment suggestions, and document extraction.
| Role | What they can do |
|---|---|
| Buyer | Browse listings, place orders, track dispatch in real time |
| Trader | Match buyers and suppliers, set margins, manage active deals |
| Supplier | List inventory, receive orders, confirm dispatch |
| Driver / Truck-driver | Receive assignments, update trip status |
| Admin | Oversee users, run analytics, generate monthly bills, seed/reset data |
pdf-lib) and Excel monthly bills (exceljs / xlsx)@google/generative-ai)Prerequisites: Node.js 20+, a Supabase project, a Gemini API key, a Google Maps JS API key.
git clone https://github.com/MadhuramAgarwal/vector.git
cd vector
npm install
Create .env.local:
NEXT_PUBLIC_SUPABASE_URL=...
NEXT_PUBLIC_SUPABASE_ANON_KEY=...
SUPABASE_SERVICE_ROLE_KEY=...
GOOGLE_GEMINI_API_KEY=...
NEXT_PUBLIC_GOOGLE_MAPS_API_KEY=...
Apply the Supabase schema (in the Supabase SQL editor):
supabase/schema.sqlsupabase/migrations/ in ordersupabase/RUN_SEED_DATA.sql (optional — demo data)Then:
npm run dev
Open http://localhost:3000.
app/
buyer/ trader/ supplier/ driver/ truck-driver/ admin/ Role dashboards
api/ Server actions
login/ page.tsx layout.tsx Auth + shell
lib/
supabase/ SSR + browser clients
createNotification.ts Notification helper
proxy.ts Auth middleware (route gate by role)
supabase/ Schema, migrations, seed scripts, edge functions
app/api/ exposes server endpoints for: margin analysis, Excel export, document extraction, e-challan generation, monthly bill generation, smart matching, assignment suggestions, buyer suggestions, and data reset.