Dashboard to catalog, evaluate, and monitor third‑party APIs. Combines AI‑assisted ingestion (Gemini 2.5 Flash) with manual flows, persists to PostgreSQL via Prisma, and runs on Next.js 16 (App Router) + React 19 + TailwindCSS 4 + Radix UI + shadcn/ui.
Error Corregido: RuntimeError "Headers is required" al cerrar sesión ✅
Se han arreglado todos los problemas de sesión, inicio de sesión y cierre de sesión.
Documentación: Ver README_DOCUMENTACION.md para detalles completos.
- ✅ Logout funciona sin errores "Headers is required"
- ✅ Protección de rutas con middleware
- ✅ Manejo de errores mejorado con try-catch
- ✅ Tipos de retorno consistentes
- ✅ Mejor feedback visual durante logout
- ✅ Logging de errores para debugging
npm run dev
# o
yarn devLuego prueba:
- Inicia sesión
- Click en "Logout"
- ✅ Debería redirigir a /auth/login sin errores
- AI ingestion: extracts technical metadata from official docs (name, description, API type, auth, SDKs, pricing, confidence) with Zod validation and a repair retry if the AI returns invalid JSON.
- Assisted create/edit flow: pre‑fills and lets humans correct before saving provider + API.
- Full CRUD for APIs, providers, and keys; revalidation and navigation via server actions.
- API detail: summary, protected/masked key, contexts (recommended/avoid), evaluations (cost, performance, stability, support), flags (black/gray/warning), and technical incident memos.
- Live search and cards with formatted dates for fast cataloging.
- Frontend: Next.js 16 (App Router), React 19, TailwindCSS 4, Radix UI, shadcn/ui, theming with next‑themes.
- Backend: Next Server Actions, Prisma Client generated under src/generated/prisma,
@prisma/adapter-pgandpgfor PostgreSQL. - AI:
@google/genai(Gemini 2.5 Flash) for factual ingestion with schema validation (Zod) and JSON repair strategy. - Utilities:
date-fnsfor formatting,lucide-reacticons,sonnertoasts,motionanimations.
- Added
ApisPerProvidercomponent to display APIs for a specific provider. - Implemented
ProviderDetailsPageto show detailed provider information. - Created
FlagsCardto visualize API flags. - Updated
ApiComponent,CreateFormConfirm,ProviderComponent,SearchApis, andSearchProvidersto improve functionality and UX.
- Provider ↔ Api (1:1) with key metadata, support, and notes.
- ApiMemory (technical memos), ApiEvaluation (0‑5 metrics), ApiFlag (black/gray/warning), ApiContext (recommended/avoid) with cascade relations.
- Create API (AI): name + docs URL → Gemini ingestion → validated draft → human review → save.
- Create API (manual): fill provider + API + metadata → save.
- Operational knowledge: add memos, contexts, flags, and evaluations from the API detail view.
- Catalog: live search and navigate to details.
- Reproducible seed: GET route
/api/seedwith examples (OpenAI, Stripe).
- Layout with sidebar, theme toggle, and fixed footer.
- Landing with text effects (rolling, shimmering, text‑generate) for the hero.
- Inline edits: flags, contexts, memos, and evaluations with immediate revalidation.
- API Key with masking, visibility toggle, copy‑to‑clipboard; quick key updates.
- Environment variables: rename
.env.templateto.envand fill credentials (PostgreSQL,GOOGLE_API_KEY, etc.). - Database:
docker compose up -d. - Dependencies:
npm install. - Migrations:
npx prisma migrate dev(ornpm run migratefor deploy‑style). - Prisma Client:
npx prisma generate(ornpm run generate). - Demo data (optional): visit
http://localhost:3000/api/seed. - Development:
npm run dev(http://localhost:3000).
npm run dev→ development mode.npm run build→ production build.npm start→ serve build.npm run lint→ ESLint.npm run migrate→ apply Prisma migrations (deploy).npm run generate→ generate Prisma Client.
- Authentication and roles for teams.
- Historical metrics and comparisons across providers.
- Report exports (CSV/PDF) with flags and evaluations.
- Proactive alerts for changes detected in official documentation.
- Dockerized PostgreSQL setup with persisted data under postgres; compose orchestration via docker-compose.yaml.
- New app routes for API/provider management: src/app/gestor-apis, src/app/gestor-proveedores, src/app/my-api, src/app/profile, src/app/errorAuth, and src/app/auth.
- Authentication flows and UI: src/components/login-form.tsx, src/components/signup-form.tsx, src/components/logginSocialButtons.tsx, src/components/SignInOutButton.tsx; backed by utilities in src/lib/auth.ts and src/lib/auth-client.ts.
- API key management improvements via src/components/UpdateKeyButton.tsx.
- Search and provider UX updates: src/components/SearchApis.tsx, src/components/NoProvidersError.tsx, and src/components/SearchProvideers.tsx.
- shadcn/ui integration scaffolded under src/components/shadcn and src/components/ui; theme toggling via src/components/themeToggle.tsx.
- Server actions organized in src/actions/ai, src/actions/auth, and src/actions/prisma.
- Prisma setup refinements: prisma/schema.prisma, migration prisma/migrations/20260111150557_test, and config prisma.config.ts.
- Generated Prisma client stored in src/generated/prisma to speed up builds.
- Configuration and deploy metadata: next.config.ts, eslint.config.mjs, postcss.config.mjs, tsconfig.json, and vercel.json.
- Documentation screenshots added under photos.



