Skip to content

RyukTV/MarketPL

Repository files navigation

Nexamarket

Marketplace local (MVP para el primer parcial): menú funcional + UI con datos mock.

Estructura añadida

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.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open 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.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

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.

Conectar Supabase (Auth + Profiles) (MVP)

1) Crear .env.local

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=Nexamarket

No subas .env.local a GitHub (ya está en .gitignore).

2) Crear la tabla profiles en Supabase

En Supabase: SQL Editor → New query, pega y ejecuta:

  • supabase/schema_mvp.sql

Esto crea public.profiles + RLS (permisos).

3) Probar

  1. Corre el proyecto: npm install y npm run dev
  2. Entra a: /auth y crea cuenta
  3. Ve a: /profile y completa tus datos (nombre, WhatsApp, ciudad)

About

Pagina Web de gestion de compra y venta de articulos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors