How gjunio0-web/elite90 works
ELITE90 PRO is a coaching platform spanning public lead intake and professional operations, plus athlete follow-up, plan authoring, and content. The clearest evidenced runtime flow is lead submission: the Netlify handler scores the lead, persists it, records traceability, and sends email. Other domain stages are represented by their endpoint and module paths in the tree, but their internal calls were not sampled; those links are therefore dashed and unverified. No README was provided, so capability coverage is based on the file tree and SOURCE INDEX.
Main entry points: submit-lead.ts Lead Submission · criar-conta-profissional.ts Professional Accounts · nucleo.js Plan Editing · registrar-checkin.ts Athlete Check-ins
Components 22
Lead Intake
- Lead Submission
netlify/functions/submit-lead.ts
Coach Operations
- Professional Accounts
netlify/functions/criar-conta-profissional.ts - Lead Promotion
netlify/functions/promote-lead.ts
Athlete Follow-up
- Athlete Check-ins
netlify/functions/registrar-checkin.ts - Physical Assessment
netlify/functions/registrar-avaliacao-fisica.ts - Follow-up Status
packages/situacao/nucleo.js
Plans and Content
- Plan Editing
packages/editor-plano/nucleo.js - Plan Document
apps/site/src/lib/plano-documento.ts - Plan Publishing
netlify/functions/publicar-plano-direto.ts - Plan Suggestions
netlify/functions/submeter-sugestao.ts - Food and Exercise Catalogs
netlify/functions/_vocabulario-alimentos.ts
Shared Services
- Lead Scoring
netlify/functions/_scoring.ts - Model Access
netlify/functions/_llm.ts - Model Request Core
netlify/functions/_llm-nucleo.js - Firebase Access
netlify/functions/_firebase.ts - Traceability
netlify/functions/_rastreabilidade.ts - Mail Delivery
netlify/functions/_mailer.ts - Email Header
netlify/functions/_email-header.ts - Email Brand Asset
netlify/functions/_email-emblema.ts
Other components
- Prospective Client
- Gemini API
- Firestore
Connections 21
- Prospective Client → Lead Submission: submits
netlify/functions/submit-lead.ts - Lead Submission → Lead Scoring: scores lead
netlify/functions/submit-lead.ts - Lead Submission → Firebase Access: uses Firebase
netlify/functions/submit-lead.ts - Firebase Access → Firestore: accesses
- Lead Submission → Traceability: records event
netlify/functions/submit-lead.ts - Lead Submission → Mail Delivery: sends email
netlify/functions/submit-lead.ts - Lead Submission → Email Header: builds email
netlify/functions/submit-lead.ts - Email Header → Email Brand Asset: uses asset
netlify/functions/_email-header.ts - Lead Scoring → Model Access: requests model
netlify/functions/_scoring.ts - Model Access → Model Request Core: delegates to
netlify/functions/_llm.ts - Model Request Core → Gemini API: calls model
- Lead Submission → Professional Accounts: may promote
- Professional Accounts → Lead Promotion: manages leads
- Professional Accounts → Athlete Check-ins: manages athletes
- Athlete Check-ins → Follow-up Status: derives status
- Professional Accounts → Physical Assessment: records assessment
- Professional Accounts → Plan Editing: authors plans
- Plan Editing → Plan Document: builds document
- Professional Accounts → Plan Publishing: publishes plans
- Professional Accounts → Plan Suggestions: reviews proposals
- Plan Editing → Food and Exercise Catalogs: uses catalog