WzGate

Introduction

What WzGate is and how its services fit together.

WzGate is a multi-tenant CRM and operations platform. It is built as a small set of independent services rather than a single application:

  • CRM Backend — the main monolith (NestJS + Prisma + PostgreSQL): leads, deals, tasks, real estate, users, and module activation.
  • Integration Service — an adapter hub that ingests events from Meta, WhatsApp, Google Ads, and website forms, then publishes normalized events.
  • Admin Frontend — the Next.js dashboard that consumes the backend.

The services talk to each other over REST + JWT and RabbitMQ. The frontend calls the backend under a /api prefix, and every response uses a consistent { success, data, message? } envelope.

This site documents the platform at a conceptual level. For setup, start with Getting Started; for the big picture, read Architecture.