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