尚未检测到更新。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.