尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗Mini tiendas de cosas usadas con link para la bio de Instagram: reutilizalo.shop/paola.
Next.js 16 (App Router, Cache Components) · TypeScript · Tailwind CSS 4 · Supabase (Auth, Postgres, Storage, RLS) · Vercel.
npm install
cp .env.example .env.local # completar con los datos de Supabase
npm run dev
El esquema completo (tablas, RLS, triggers, funciones y buckets de Storage) está en supabase/migrations/. Con el proyecto de Supabase creado:
npx supabase login
npx supabase link --project-ref <ref>
npx supabase db push
npm run db:types # genera lib/supabase/database.types.ts
En Supabase → Authentication → Providers → Email: dejar activo Email. Para que crear la tienda tome 2 minutos, desactivar Confirm email en el MVP (o configurar SMTP propio).
Si se deja activo, en Authentication → Email Templates → Confirm signup usar este link, que
funciona aunque se abra en otro navegador (por ejemplo, fuera de Instagram):
{{ .SiteURL }}/auth/confirm?token_hash={{ .TokenHash }}&type=email&next=/panel.
En Authentication → URL Configuration, poner Site URL = https://reutilizalo.shop.
Para hacerte admin, crea tu tienda y después corre en el SQL Editor de Supabase (con tu email):
update public.profile_private
set is_admin = true
where id = (select id from auth.users where email = '[email protected]');
[NOMBRE DEL RESPONSABLE] y [EMAIL DE CONTACTO] en
components/landing/legal-page.tsx, y hacer revisar /terminos y /privacidad por alguien con
conocimiento legal (Ley 18.331).| Comando | Qué hace |
|---|---|
npm run dev | Servidor de desarrollo |
npm run build | Build de producción |
npm run lint | ESLint |
npm run typecheck | Chequeo de tipos |
npm test | Tests unitarios (Vitest) |