Herald Engine is a multi-tenant Journalist Database and Outreach CRM built for PR agencies managing media outreach across multiple client accounts. The system uses a modern NestJS + Next.js monorepo architecture with PostgreSQL Row Level Security policies ensuring complete data isolation between tenants without the overhead of separate databases.
The Challenge
A PR agency managing media outreach across multiple client accounts needed a centralized system to maintain journalist contacts, track outreach campaigns, and manage press release workflows. Existing CRM tools were either too generic for media relations or too expensive for the agency growing needs. The system needed strict data isolation between clients.
What Devstone Solutions Built
Devstone Solutions built Herald Engine using Turborepo for the monorepo, NestJS for the API, Next.js for the frontend, and PostgreSQL with Row Level Security for tenant isolation. The system includes JWT-based authentication with RBAC, audit logging for compliance, and WordPress API integration with runtime contract validation via Zod schemas.
The Results
- Database-level tenant isolation via PostgreSQL RLS
- Zero risk of data leakage between client accounts
- WordPress contract validation catches breaking API changes
- Database-level tenant isolation via PostgreSQL RLS
- Zero risk of data leakage between client accounts