尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證A production-ready, white-label client portal for drone photographers, real estate media professionals, videographers, and virtual tour providers. Swift Portal helps media businesses capture project requests, manage clients and projects, deliver photos and videos, present 360 tours, and handle approvals through a branded client experience.
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗Professional client portal for Swift Aerial Media. Built exclusively for Swift Aerial Media and its clients — not a white-label or multi-tenant SaaS.
swift-portal/
├── src/
│ ├── app/
│ │ ├── page.tsx # Public homepage
│ │ ├── request/page.tsx # Request a shoot form
│ │ ├── login/page.tsx # Client login
│ │ ├── dashboard/
│ │ │ ├── page.tsx # Client dashboard
│ │ │ └── projects/[id]/page.tsx # Client project view
│ │ ├── admin/
│ │ │ ├── page.tsx # Admin dashboard
│ │ │ ├── leads/page.tsx # Lead management
│ │ │ ├── clients/ # Client management
│ │ │ └── projects/ # Project management
│ │ └── api/
│ │ ├── leads/ # Lead submission
│ │ ├── clients/ # Client CRUD
│ │ ├── projects/ # Project CRUD
│ │ ├── media/ # File upload/download
│ │ ├── tours/ # 360 tour management
│ │ ├── payments/ # Stripe payment links
│ │ ├── revisions/ # Revision requests
│ │ ├── stripe/webhook/ # Stripe webhooks
│ │ └── auth/signout/ # Sign out
│ ├── components/
│ │ ├── ui/ # Base UI components
│ │ ├── layout/ # Header, Footer
│ │ ├── projects/ # Project-specific components
│ │ └── admin/ # Admin-specific components
│ ├── lib/
│ │ ├── supabase/ # Supabase clients
│ │ ├── auth.ts # Auth helpers
│ │ ├── stripe.ts # Stripe client
│ │ ├── types.ts # TypeScript types
│ │ ├── constants.ts # App constants
│ │ └── utils.ts # Utility functions
│ └── middleware.ts # Auth middleware
├── supabase/
│ └── schema.sql # Full database schema
├── .env.example
└── README.md
Tables: profiles, clients, leads, projects, media_assets, tours, payments, revisions, activity_logs
See supabase/schema.sql for the complete schema including:
Copy .env.example to .env.local:
cp .env.example .env.local
| Variable | Description |
|---|---|
NEXT_PUBLIC_SUPABASE_URL | Supabase project URL |
NEXT_PUBLIC_SUPABASE_ANON_KEY | Supabase anon/public key |
SUPABASE_SERVICE_ROLE_KEY | Supabase service role key (server only) |
STRIPE_SECRET_KEY | Stripe secret key |
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY | Stripe publishable key |
STRIPE_WEBHOOK_SECRET | Stripe webhook signing secret |
NEXT_PUBLIC_APP_URL | App URL (http://localhost:3000 for dev) |
supabase/schema.sqlRun supabase/migration-v2.sql in the SQL Editor. This adds:
If creating or inviting users fails in Supabase Auth, run supabase/fix-auth-trigger.sql in the SQL Editor. This fixes the profile trigger and RLS permissions.
After running the schema, create your first admin user:
-- Create admin user via Supabase Auth dashboard, then:
UPDATE profiles SET role = 'admin' WHERE email = '[email protected]';
Or create via Supabase Auth → Users → Add User, then update the profile role.
The schema automatically creates:
project-media — Photos (JPG, PNG, WEBP) and Videos (MP4, MOV), max 500MBproject-documents — PDF and ZIP files, max 100MBhttps://your-domain.com/api/stripe/webhookcheckout.session.completedSTRIPE_WEBHOOK_SECRETFor local development, use the Stripe CLI:
stripe listen --forward-to localhost:3000/api/stripe/webhook
# Install dependencies
npm install
# Set up environment
cp .env.example .env.local
# Fill in your Supabase and Stripe credentials
# Run development server
npm run dev
git init
git add .
git commit -m "Initial Swift Portal setup"
git remote add origin https://github.com/your-org/swift-portal.git
git push -u origin main
.env.exampleNEXT_PUBLIC_APP_URL to your Vercel domain (e.g., https://swift-portal.vercel.app)https://your-domain.comhttps://your-domain.com/**/login| Status | Description |
|---|---|
| Lead Received | Initial inquiry received |
| Scheduled | Shoot date confirmed |
| Shot Complete | Aerial capture finished |
| Editing | Post-production in progress |
| Ready For Review | Client can review deliverables |
| Awaiting Payment | Invoice sent, payment pending |
| Delivered | Project complete |
Proprietary — Swift Aerial Media. All rights reserved.