Platform architecture, data model, credit economy, integrations, and operational tasks.
SEOtoAEOai is a public, no-login React single-page app on Base44. Identity is email-keyed: a visitor enters an email and receives 5 free starter credits via a CreditLedger adjustment. All persisted reads/writes run through base44.asServiceRole in Deno backend functions; entity row-level security is admin-only except where public read is intended.
src/App.jsx, ~37 tool pages.base44/functions/ invoked via base44.functions.invoke().Core storage entities (all admin-gated unless noted):
report_data (the digital twin payload).balance_after is the running balance.auto_fix).base44.users.inviteUser), not created directly.FOUNDER_EMAIL secret).buyCredits creates a Checkout session; stripeWebhook credits the ledger on checkout.session.completed (idempotent on session id).base44.asServiceRole.connectors.getConnection().autoPilotRun which re-scores every WatchedDomain with auto_fix=true and emails a fresh fix kit on a score drop.Managed in dashboard → settings → environment variables: STRIPE_SECRET_KEY, STRIPE_PUBLISHABLE_KEY, STRIPE_WEBHOOK_SECRET, CEREBRAS_API_KEY, GROQ_API_KEY, FOUNDER_EMAIL. Never reference BASE44_SERVICE_TOKEN — it does not exist.
base44.users.inviteUser(email, role).CreditLedger; adjust balances as needed.Certification badges for domains scoring 80+.manageAutoPilot.