Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.43 KB

File metadata and controls

37 lines (26 loc) · 1.43 KB

Morpheus - Dupip's Content Presence Website

What: Legacy Next.js SSG Engine, Contentful

Getting Started

cp .env.public .env.local
nvm use v20
npm ci
npm run dev

Documentation: TBD

Unread chat email cron

  • Vercel cron schedule is defined in vercel.json and calls /api/cron/unread-chat-emails daily.
  • Set CRON_SECRET so the cron route only accepts authorized requests.
  • Configure Brevo SMTP with BREVO_SMTP_HOST, BREVO_SMTP_PORT, BREVO_SMTP_USER, BREVO_SMTP_PASS, BREVO_SMTP_FROM_EMAIL, and optional BREVO_SMTP_FROM_NAME.
  • Apply the Prisma schema change before running the cron in a real environment (for example with npx prisma db push).
  • Unread chat summary emails intentionally omit message contents for privacy, send when a user has new unread chat messages, and can re-notify messages that remain unread after 3 days.

Nightly Environment: https://beta.dupip.com

Production Environment: https://www.dupip.com


| Hippocratic License HL3-ECO | License: CC BY-NC-ND 4.0 |

Purizu di Angelo Reale Caldeira de Lemos and Remotelys Portais de Internet Ltda dba Dupip.

P.IVA IT02925300903 REA 572763 CNPJ 37.553.462/0001-46