This is a case where the honest answer is: self-host the real open-source project rather than rebuild it. Deploy Mattermost's own Team Edition via its official Docker Compose setup, backed by PostgreSQL, on a VPS you control. Configure a domain with a reverse proxy (Nginx or Caddy) for automatic HTTPS. Set up the workspace: create your team, invite members via email or an invite link, and configure channels. Since this is the real, complete open-source product, not a reimplementation, the actual work is operational, not building features: schedule regular Postgres backups, subscribe to Mattermost's security release notes and apply updates promptly (this is the part a paid vendor would otherwise do for you), and configure an SMTP provider for email notifications. Document your backup and restore process and actually test a restore once, before you need it for real. Do not attempt to build a smaller custom chat app instead — Mattermost's open-source core already has years of polish a from-scratch weekend build won't match, and the honest move here is running the real thing. Requires hosting (a modest VPS is enough for a small team), a domain, and an SMTP provider for notification emails.