What problem does it solve?
Streamlines the Dashboard Maestro backend by outlining the Express + Sequelize serverless API surface, JWT superadmin authentication, Neon PostgreSQL connections, tenant metric queries, and cross-app access token flow so you avoid wiring these security-critical pieces manually.
Core Features & Use Cases
- Secure Authentication and Auditing: Enforces role=superadmin logins, rate limits, and audit logging in superadmin_audit_log while ensuring tenant_id always comes from JWT or route parameters.
- Tenant Metrics APIs: Provides endpoints for tenant lists with daily metrics, detailed tenant data, today-specific sales and expenses, and access tokens that auto-login into the business app.
- Automation and Learning Materials: Bundles api_scaffolder, database_migration_tool, and api_load_tester scripts plus comprehensive references on API design, database optimization, and backend security practices for production-ready improvements.
Quick Start
Use python scripts/api_scaffolder.py with your project path to bootstrap the API scaffolding.