Marketplace local (MVP para el primer parcial): menú funcional + UI con datos mock.
app/
page.tsx # Home (UI mock)
sell/page.tsx # Placeholder
my-listings/page.tsx # Placeholder
profile/page.tsx # Placeholder
listing/[id]/page.tsx # Detalle (demo)
components/
shared/Navbar.tsx # Menú
shared/icons.tsx # Íconos (SVG, sin dependencias extra)
marketplace/* # UI mock (cards, modal, filtros)
lib/mockProducts.ts # Datos mock
This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.
En la raíz del proyecto, crea un archivo .env.local con:
NEXT_PUBLIC_SUPABASE_URL=TU_URL_DE_SUPABASE
NEXT_PUBLIC_SUPABASE_ANON_KEY=TU_ANON_KEY
NEXT_PUBLIC_APP_NAME=NexamarketNo subas
.env.locala GitHub (ya está en.gitignore).
En Supabase: SQL Editor → New query, pega y ejecuta:
supabase/schema_mvp.sql
Esto crea public.profiles + RLS (permisos).
- Corre el proyecto:
npm installynpm run dev - Entra a:
/authy crea cuenta - Ve a:
/profiley completa tus datos (nombre, WhatsApp, ciudad)