连接
连接你的服务
接入你自己的数据库和邮箱,归你所有、由你管理,我们只负责把它接到你的作品上。
连接你自己的账户(密钥加密保存)。数据、费用和隐私都在你手里,VibeCampus 只提供接入功能。
数据库 (Supabase)
用你自己的 Supabase 为应用接入真实数据。
创建你自己的数据库(我们绝不触碰)
终端用户的数据存在你自己的 Supabase 里,由你掌控。VibeCampus 只做中转,绝不拥有或保存,所以隐私的责任在你这边,而不在我们。
- 1.免费注册并创建一个新项目: supabase.com
- 2.在项目中:Settings → API。复制 Project URL 和 service_role 密钥。
Supabase → Project Settings → API。粘贴 URL 和密钥,我们实时测试。
- 3.打开 SQL Editor,粘贴一次并点击 Run:
-- VibeCampus: run once in your Supabase SQL editor.
create table if not exists public.vibe_records (
id uuid primary key default gen_random_uuid(),
form_key text not null,
collection text not null,
data jsonb not null default '{}'::jsonb,
visibility text not null default 'public',
end_user_id text,
created_at timestamptz not null default now(),
updated_at timestamptz not null default now()
);
create index if not exists vibe_records_key_coll on public.vibe_records (form_key, collection, created_at desc);
create index if not exists vibe_records_owner on public.vibe_records (form_key, collection, end_user_id);
alter table public.vibe_records enable row level security;
-- Form / contact submissions from your built site.
create table if not exists public.vibe_form_submissions (
id uuid primary key default gen_random_uuid(),
form_key text not null,
data jsonb not null default '{}'::jsonb,
name text,
email text,
source text,
created_at timestamptz not null default now()
);
create index if not exists vibe_form_key on public.vibe_form_submissions (form_key, created_at desc);
alter table public.vibe_form_submissions enable row level security;
-- Appointment / booking requests from your built site.
create table if not exists public.vibe_bookings (
id uuid primary key default gen_random_uuid(),
project_key text not null,
end_user_id text,
name text not null default '',
email text,
phone text,
service text not null default '',
start_at timestamptz not null,
duration_min int not null default 60,
note text not null default '',
status text not null default 'pending',
created_at timestamptz not null default now()
);
create index if not exists vibe_bookings_key_time on public.vibe_bookings (project_key, start_at);
alter table public.vibe_bookings enable row level security;
-- Shop orders from your built site (products/stock stay in VibeCampus).
create table if not exists public.vibe_orders (
id uuid primary key default gen_random_uuid(),
project_key text not null,
end_user_id text,
buyer_email text,
buyer_name text,
items jsonb not null default '[]'::jsonb,
total int not null default 0,
currency text not null default 'krw',
status text not null default 'pending',
created_at timestamptz not null default now()
);
create index if not exists vibe_orders_key on public.vibe_orders (project_key, created_at desc);
alter table public.vibe_orders enable row level security;- 4.在下方粘贴 URL 和 service 密钥并连接。搞定,你的应用数据现在就存在自己的数据库里了。
GitHub(你的代码之家)
把作品的代码保存到你自己的GitHub账号。这是代码属于你的最有力证明,以后可以用任何工具继续开发。
连接你的GitHub
点击后会打开GitHub授权页面。我们只请求公开仓库的写入权限,你随时可以在GitHub设置中撤销。
Vercel(你的部署账号)
把做好的网站部署到你自己的Vercel账号。服务器属于你,立即获得免费网址,还可以绑定域名。
连接你的Vercel
点击后会打开Vercel安装页面。我们只请求项目、部署和域名权限,你随时可以在Vercel控制台卸载。
邮箱 (Resend)
用你自己的域名与 Resend 密钥发送。
Resend → API Keys。在 Resend 验证域名后填入密钥,我们实时测试。