Frontend web de Lúpulos, construido con Next.js (App Router), React y TypeScript.
- Producción: https://lupulos.app
- Backend/API: https://github.com/ignaciosergiodiaz/lupulos-api
- Autenticación con JWT y login social
- CRUD de cervezas y lugares
- Posts, comentarios, puntuación y multimedia
- UI responsive (Tailwind + MUI)
- Next.js 15
- React 19
- TypeScript
- Tailwind CSS 4 + Material UI
- Axios (con interceptores JWT)
- React Hook Form + Zod
- Node.js: ver
package.json#engines(y.nvmrcpara desarrollo) - npm: ver
package.json#packageManager
- Instalar dependencias
npm install- Variables de entorno
cp .env.example .env.localEditá .env.local y configurá:
NEXT_PUBLIC_API_URL(URL base del backend sin/api)
- Levantar el entorno
npm run devnpm run dev: levantar Next en desarrollonpm run check: formato + lint + typechecknpm run ci: check + build (ideal para CI)npm run format: aplicar Prettiernpm run format:check: validar formato
- Importá este repo en Vercel (Framework Preset: Next.js)
- Configurá variables de entorno (Preview/Production según corresponda)
NEXT_PUBLIC_API_URL(sin/api)
- Deploy: Vercel detecta
npm run buildautomáticamente para Next.js
Tip: si no seteás NEXT_PUBLIC_API_URL, el frontend usa https://lupulos.app por defecto.