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
Proyecto base en Next.js
Translation pending
BusinessTypeScript · CSSGitHub @Emma30hOnlineOwner 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
Sistema de calendario para D.M.C.A
Translation pending
Taken from the repository README
Loading the full README.
Read the full README ↗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 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.
The "Cargar cumpleanos del personal" section now uses Supabase through Next.js API routes.
.env.local from .env.example.NEXT_PUBLIC_SUPABASE_URLSUPABASE_SERVICE_ROLE_KEYsupabase/birthdays.sqlsupabase/birthdays_turno_guardia_larga.sqlNotes:
/api/birthdays), not directly from browser to Supabase.SUPABASE_SERVICE_ROLE_KEY must stay server-side only.This project now includes bootstrap auth with secure cookie session, OTP verification, password recovery by OTP and base roles.
.env.local:
AUTH_SESSION_SECRET (minimum 32 chars)AUTH_OTP_PEPPER (optional)AUTH_ALLOW_DEV_OTP_FALLBACK (optional: set true only if you want local OTP fallback instead of Brevo send when config is missing)supabase/auth_rbac.sql/auth/login:
ADMIN account (bootstrap).CLIENTE accounts by default.Role behavior:
ADMIN: full dashboard access.CLIENTE:
/anual (calendario anual), /mes/[month] (calendario mensual) and /mes/[month]/dia/[day] (evento del dia)./dashboard or /anual/email.Admin user management:
ADMIN can review internal users directly from /dashboard.GET /api/auth/admin-users (list users)Password recovery APIs:
POST /api/auth/request-password-reset (request OTP for password change)POST /api/auth/reset-password (validate OTP + set new password)Client access by shareable link/QR:
ADMIN has a single permanent client access link/QR in /dashboard/acceso-cliente.GET /api/auth/client-access-linkGET /acceso-clienteCLIENTE session and redirects to /mes/{mesActual}/dia/{diaActual}.To enable the /anual/email panel and test sends:
.env.local:
BREVO_API_KEYBREVO_SENDER_EMAILBREVO_SENDER_NAME (optional, default: Calendario Garden)AUTH_ALLOW_DEV_OTP_FALLBACK is empty/false if you want to force real e-mail OTP delivery.supabase/email_recipients.sql/anual/email, add recipients, and click Enviar prueba.Notes:
POST /api/email-recipients/test.NEXT_PUBLIC_EMAIL_PANEL_MODE=test/anual/email.public.birthdays puede completarse solo a partir de los legajos reales del
proyecto hermano "Perfiles Garden" (gestion_personal.agentes, mismo proyecto
de Supabase). Las filas sincronizadas quedan de solo lectura en
/anual/personal-cargado (no editables/borrables a mano, ver source en cada
registro); la carga manual sigue disponible para lo que Perfiles Garden no
puede resolver (personal "Gobierno", legajos incompletos).
Setup:
.env.local:
PERFILES_GARDEN_DATABASE_URL (conexion Postgres de solo lectura,
reutilizar el DATABASE_URL pooled del proyecto Perfiles Garden — mismo
Supabase, schema gestion_personal).supabase/birthdays_source_sync.sql/anual/personal-cargado (requiere sesion
ADMIN), oPOST/GET /api/birthdays/sync con Authorization: Bearer <CRON_SECRET>
(mismo secreto que usa el cron de notificaciones).Notas:
estado = 'ACTIVO' y fechaNacimiento
cargada. Los que no se pueden mapear (sin rango, sin area/sector, turno no
reconocido) se excluyen y se listan en la respuesta del sync para
completarlos a mano.source_agente_id y borra las filas sincronizadas
que ya no corresponden (baja, sin fecha, etc.) — nunca toca filas MANUAL.vercel.json corre a las 06:00 UTC, antes del envio diario de
notificaciones (10:00 UTC), para que ese envio ya vea los cumpleanos del dia.This project now includes a cron-ready endpoint:
GET /api/notifications/run-daily (Vercel cron)POST /api/notifications/run-daily (manual trigger)Setup:
.env.local:
CRON_SECRETAPP_TIMEZONE (optional, default: America/Argentina/Buenos_Aires)APP_BASE_URL (optional, recommended for e-mail logo/assets. Example: https://tu-dominio.com)APP_LOGO_URL (optional, full logo URL for e-mails. Example: https://tu-dominio.com/media/iso_blanco.png)supabase/notification_logs.sqlsupabase/notification_logs_force_runs.sql# Manual trigger (POST)
curl -X POST "http://localhost:3000/api/notifications/run-daily" \
-H "Authorization: Bearer YOUR_CRON_SECRET"
# Cron-compatible trigger (GET)
curl "http://localhost:3000/api/notifications/run-daily" \
-H "Authorization: Bearer YOUR_CRON_SECRET"
Notes:
run_date): it runs once per day.notification_runs and each recipient result in notification_deliveries.GET /api/notifications/history?limit=20.APP_BASE_URL is not configured, asset URLs in e-mails fallback to the request origin.APP_LOGO_URL is configured, it is used as-is for the e-mail header logo.This repo includes vercel.json with:
/api/notifications/run-daily0 10 * * * (10:00 UTC, 07:00 in Argentina UTC-3)On Vercel project settings:
CRON_SECRETAPP_TIMEZONEAPP_BASE_URLAPP_LOGO_URLBREVO_API_KEYBREVO_SENDER_EMAILSUPABASE_SERVICE_ROLE_KEYNEXT_PUBLIC_SUPABASE_URL (or SUPABASE_URL)Vercel cron requests use GET and include Authorization: Bearer <CRON_SECRET> when CRON_SECRET is configured.
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!
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.