godblesskaaya/ERPnext-saas-control-plane ? reverse-engineered prompt
Reverse engineered prompt
Build me a control panel for an ERPNext SaaS platform where I can onboard customers, create new tenant instances, and manage their lifecycle from one place.
I want a clean dashboard for admins and customers, plus an API that handles signup, login, tenant creation, job status, billing webhooks, health checks, and basic metrics. It should support provisioning new ERPNext sites, backing them up, deleting them safely, and showing backup history. Add payment flow handling so a confirmed payment can trigger provisioning, failed payments can block access, and cancellations can suspend tenants. I also need email notifications for important events like signup, provisioning success or failure, backups, and deletions.
Make it work locally with Docker, include database migrations, and use environment variables for all secrets. If you need to check current docs for FastAPI, Next.js, or ERPNext related setup, go ahead and look them up online.