How thessensei/testesterontest works
TestoTavan is a browser-based testosterone analysis and natural-support platform. Its primary user flow collects symptom and personal inputs, estimates testosterone, then accepts optional lab values for validation and a personalized report. The product also includes multilingual blog/recipe browsing, an authenticated content-management panel with image uploads, and page-view statistics. Some API-to-browser links are documented capabilities rather than shown frontend calls; those edges are marked dashed where implementation wiring was not excerpted.
Main entry points: content.js Content API · index.html Admin Panel · app.js Analysis Flow · index.js Media Upload API
Components 19
Health Analysis
- Analysis Interface
src/index.html - Analysis Flow
src/js/app.js - Lab Validation
src/js/validation.js - Report Reader
src/js/app.js - Results & Guidance
src/js/app.js
Content Experience
- Blog & Recipes
src/js/content.js - Language Support
src/js/content.js
Administration
- Admin Panel
admin/index.html
Backend Services
- Admin Login
api/login.js - Session Check
api/session.js - Session & Auth
api/_auth.js - Content API
api/content.js - Content Shaping
api/_content-shape.js - Media Upload API
api/media/index.js - Media Serving
api/media/[id].js - Media Validation
api/_media.js - View Statistics
api/stats.js
Other components
- Visitor
- Neon Postgres
Connections 26
- Visitor → Analysis Interface: opens
README.md - Analysis Interface → Analysis Flow: hosts
README.md - Analysis Flow → Lab Validation: validates with
src/js/app.js - Analysis Flow → Report Reader: reads locally
src/js/app.js - Report Reader → Analysis Flow: fills form
src/js/app.js - Analysis Flow → Results & Guidance: renders
README.md - Visitor → Admin Panel: opens
README.md - Admin Panel → Admin Login: authenticates via
README.md - Admin Panel → Session Check: checks session
README.md - Admin Login → Session & Auth: creates session
api/login.js - Session Check → Session & Auth: checks session
api/session.js - Admin Panel → Content API: manages content
README.md - Content API → Session & Auth: checks admin
api/content.js - Content API → Content Shaping: cleans fields
api/content.js - Content API → Media Validation: validates cover
api/content.js - Content API → Neon Postgres: reads and writes
api/content.js - Admin Panel → Media Upload API: uploads images
README.md - Media Upload API → Session & Auth: checks admin
api/media/index.js - Media Upload API → Media Validation: validates upload
api/media/index.js - Media Upload API → Neon Postgres: stores image
api/media/index.js - Media Serving → Neon Postgres: serves image
- Visitor → Blog & Recipes: browses
README.md - Blog & Recipes → Language Support: translates interface
src/js/content.js - Blog & Recipes → Content API: loads content
README.md - Visitor → View Statistics: generates views
README.md - View Statistics → Neon Postgres: updates counter
README.md