Lalabase
Tickets, Doku, Zeiterfassung und Kundengespräche an einem Ort, durchsuchbar per KI. Für Softwarefirmen mit Kundenprojekten. Open Source: auf deinem eigenen Server oder in unserer Cloud in Deutschland.
Translation pending
Cotizador Flash en 30 segundos con listas gremio/público, app móvil Mi Día para cuadrillas, pañol con remitos y atención WhatsApp oficial con IA.
Translation pending
BusinessTypeScript · HTMLGitHub @juan481OnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Loading the full README. The saved excerpt is shown below.
CRM modular, escalable y de marca blanca (White-Label SaaS) para agencias y empresas de servicios. Detalle completo de Pagos & Portal (setup de Whop/MP, webhooks, portal de clientes, seguridad): docs/PAGOS-Y-PORTAL.md.Read the full README ↗
CRM modular, escalable y de marca blanca (White-Label SaaS) para agencias y empresas de servicios.
| Capa | Tecnología |
|---|---|
| Framework | Next.js 14 (App Router) + TypeScript |
| Estilos | Tailwind CSS + CSS Variables dinámicas |
| Base de datos | PostgreSQL (Supabase) + Prisma ORM |
| Auth | Supabase Auth (JWT + httpOnly cookies) |
| Amazon SES / Nodemailer / Brevo | |
| Estado global | Zustand |
| Gráficos | Recharts |
| Exportación | XLSX / CSV |
| Animaciones | Framer Motion |
| Deploy | Vercel |
npm install
Crea .env en la raíz con:
# Base de datos (Supabase)
DATABASE_URL="postgresql://..."
# Supabase Auth
NEXT_PUBLIC_SUPABASE_URL="https://xxx.supabase.co"
NEXT_PUBLIC_SUPABASE_ANON_KEY="..."
SUPABASE_SERVICE_ROLE_KEY="..."
# App
NEXT_PUBLIC_APP_URL="https://tudominio.com"
JWT_SECRET="..."
# Email — Amazon SES (opcional, si se usa SES)
AWS_SES_REGION="us-east-1"
AWS_SES_ACCESS_KEY_ID="..."
AWS_SES_SECRET_ACCESS_KEY="..."
AWS_SES_CONFIG_SET="..." # nombre del Configuration Set para tracking
AWS_SNS_TOPIC_ARN="arn:aws:sns:..." # ARN del topic SNS para webhooks
# Email — SMTP genérico (fallback)
SMTP_HOST="smtp.ejemplo.com"
SMTP_PORT="587"
SMTP_USER="..."
SMTP_PASS="..."
# Pagos & Portal (opcional — sin esto no se cobra online, nada más rompe)
WHOP_API_KEY="..." # cobros en USD
WHOP_PRODUCT_ID="prod_..." # product de Whop bajo el que se crean los planes
WHOP_WEBHOOK_SECRET="ws_..."
MP_ACCESS_TOKEN="APP_USR-..." # cobros en ARS (Mercado Pago)
MP_WEBHOOK_SECRET="..." # clave secreta de Webhooks del panel de MP
Detalle completo de Pagos & Portal (setup de Whop/MP, webhooks, portal de clientes, seguridad):
docs/PAGOS-Y-PORTAL.md.
npm run db:generate # Genera el Prisma Client
npm run db:push # Aplica el schema (primera vez o cambios sin data)
npm run db:seed # Carga datos de prueba
Migraciones con enums: Si venís de una versión anterior con columnas
String, usá el scriptprisma/migrations/safe_enum_migration.sqlen el SQL Editor de Supabase antes dedb:pushpara convertir sin pérdida de datos.
npm run dev
Disponible en http://localhost:3000
| Password | Rol | |
|---|---|---|
| [email protected] | Admin123! | Super Admin |
| [email protected] | Admin123! | Admin |
| [email protected] | Seller123! | Vendedor |
El CRM tiene 5 roles con jerarquía numérica (canAccess):
| Nivel | Rol | Descripción |
|---|---|---|
| 4 | SUPER_ADMIN | Acceso total, gestión de organización y plugins |
| 3 | ADMIN | Gestión operativa completa |
| 2 | SELLER | Clientes propios, pipeline, cotizador |
| 1 | HR | Módulo RRHH y tareas |
| 0 | TECHNICIAN | Tickets y tareas asignados |
| Módulo | SUPER_ADMIN | ADMIN | SELLER | HR | TECHNICIAN |
|---|---|---|---|---|---|
| Dashboard | ✅ | ✅ | ✅ | — | — |
| Clientes / Empresas | ✅ | ✅ | ✅ (propios) | — | — |
| Pipeline (Deals) | ✅ | ✅ | ✅ (propios) | — | — |
| Cotizador | ✅ | ✅ | ✅ | — | — |
| Tareas | ✅ | ✅ | ✅ | ✅ | ✅ (asignadas) |
| Tickets | ✅ | ✅ | ✅ | — | ✅ (asignados) |
| Comunicaciones | ✅ | ✅ | ✅ | — | — |
| Facturación | ✅ | ✅ | — | — | — |
| RRHH | ✅ | ✅ | — | ✅ | — |
| Mi Día | — | — | — | — | ✅ |
| Configuración | ✅ | ✅ | — | — | — |
Configuración > Correo/api/track/open) + webhooks SNS (/api/webhooks/ses)GREMIO.crm/
├── prisma/
│ ├── schema.prisma # Schema con enums tipados y nueva arquitectura (Empresa/Contacto)
│ ├── seed.ts # Datos de prueba
│ └── migrations/
├── src/
│ ├── app/
│ │ ├── (auth)/ # Login + Onboarding
│ │ ├── (dashboard)/ # Páginas internas del CRM (Directorio, Pipeline, etc.)
│ │ ├── (gremio)/ # Portal B2B (Módulo Gremio)
│ │ ├── (portal)/ # Portal de Clientes (Autogestión y Pagos)
│ │ └── api/ # API Routes REST
│ │ ├── whatsapp/ # Webhooks y endpoints del Bot IA
│ │ ├── webhooks/ses/ # Receptor de eventos SNS/SES
│ │ └── ...
│ ├── components/
│ ├── lib/
│ │ ├── auth.ts # canAccess + getCurrentUser
│ │ ├── db.ts # Prisma client singleton
│ │ └── ...
│ └── types/index.ts # Tipos globales y enums TS
GREMIO, CLIENTE)El deploy es automático al hacer push a main. Variables de entorno configuradas en el dashboard de Vercel.
git push origin main # dispara deploy automático
Para deploy manual:
npm run build
npm run start