🚀 Dashboard Autofactuur Control

📊 Overview
đŸ‘Ĩ Tenants
🔑 Licenses
đŸĸ Companies
📡 API Docs

📊 System Status

Server Status
Checking...
API Status
Checking...
Database
Checking...
Total Tenants
-
Active Licenses
-
Expiring Licenses
-

📈 Recent Events

Loading events...

âš ī¸ Recent Errors

Loading errors...

➕ Create New Tenant

â„šī¸ Wat gebeurt er:
  • Maakt een nieuwe tenant aan met automatisch gegenereerde Tenant ID (gebaseerd op database naam)
  • Genereert een unieke licentie code automatisch
  • Maakt een eigen database aan voor deze tenant
  • Zet alle benodigde tabellen op in de tenant database
  • Klant gebruikt de licentie code om account aan te maken (email + wachtwoord)
  • Licentie code kan maar ÊÊn keer gebruikt worden

đŸ‘Ĩ All Tenants

Loading tenants...

🔑 License Management

📋 All Licenses

Loading licenses...

đŸĸ Companies

Loading companies...

📡 API Documentation

GET /api/ping - Health check endpoint
GET /api/admin/licenses - List all licenses
POST /api/admin/licenses/generate - Generate new license
POST /api/admin/licenses/:key/revoke - Revoke license
POST /api/admin/licenses/:key/unrevoke - Unrevoke license
GET /api/admin/overview - System overview
GET /api/admin/bedrijven - List companies
GET /api/admin/tickets - List support tickets
GET /api/admin/tenants - List all tenants
POST /api/admin/tenants/create - Create new tenant with license