How naveen64-64/life-audit-platform works
Life Audit Platform collects a six-step student questionnaire, computes time, energy, focus, and goal-alignment insights, and presents a visual report with positive habits, recommendations, and a daily action plan. The browser also includes a local-knowledge AuditBot. The README documents report retrieval and health checks; backend excerpts show audit processing but do not establish persistence, so no database is modeled. Some frontend and route behavior is represented from README or source-index references rather than full excerpts.
Main entry points: ResultsPage.jsx Results dashboard · App.jsx SPA routing · audit.py Audit endpoints · AuditPage.jsx Six-step audit
Components 24
Web experience
- SPA routing
frontend/src/App.jsx - Landing page
frontend/src/pages/LandingPage.jsx - Six-step audit
frontend/src/pages/AuditPage.jsx - Local AuditBot
frontend/src/components/AuditBot.jsx - About page
frontend/src/pages/AboutPage.jsx
API and contracts
- API client
frontend/src/services/api.js - FastAPI app
backend/app/main.py - Audit endpoints
backend/app/routes/audit.py - Chat endpoint
backend/app/routes/chat.py - Health endpoint
backend/app/routes/health.py - Audit contracts
backend/app/schemas/audit.py
Audit analysis
- Scoring and leaks
backend/app/services/audit_engine.py - Recommendations and plan
backend/app/services/recommendation_engine.py
Report presentation
- Results dashboard
frontend/src/pages/ResultsPage.jsx - Score cards
frontend/src/components/ScoreCard.jsx - Leak insights
frontend/src/components/TimeLeaksSection.jsx - Positive habits
frontend/src/components/PositiveHabitsSection.jsx - Recommendations view
frontend/src/components/RecommendationsSection.jsx - Action plan view
frontend/src/components/ActionPlanSection.jsx - Time distribution chart
frontend/src/components/Charts/TimeDistributionChart.jsx - Leak breakdown chart
frontend/src/components/Charts/TimeLeaksChart.jsx - Energy chart
frontend/src/components/Charts/EnergyChart.jsx - Focus chart
frontend/src/components/Charts/FocusChart.jsx
Other components
- Student
Connections 26
- Student → SPA routing: opens
- SPA routing → Landing page: routes to
frontend/src/App.jsx - SPA routing → Six-step audit: routes to
frontend/src/App.jsx - SPA routing → Results dashboard: routes to
frontend/src/App.jsx - SPA routing → About page: routes to
frontend/src/App.jsx - SPA routing → Local AuditBot: renders
frontend/src/App.jsx - Student → Six-step audit: submits answers
README.md - Six-step audit → API client: submits audit
frontend/src/pages/AuditPage.jsx - API client → Audit endpoints: HTTP requests
frontend/src/services/api.js - FastAPI app → Audit endpoints: registers router
backend/app/main.py - FastAPI app → Health endpoint: registers router
backend/app/main.py - Audit endpoints → Audit contracts: validates and returns
backend/app/routes/audit.py - Audit endpoints → Scoring and leaks: processes submission
backend/app/routes/audit.py - Audit endpoints → Recommendations and plan: generates outputs
backend/app/routes/audit.py - Scoring and leaks → Audit contracts: uses models
backend/app/services/audit_engine.py - Recommendations and plan → Audit contracts: uses models
backend/app/services/recommendation_engine.py - Results dashboard → API client: loads report
frontend/src/pages/ResultsPage.jsx - Results dashboard → Score cards: renders
frontend/src/pages/ResultsPage.jsx - Results dashboard → Leak insights: renders
frontend/src/pages/ResultsPage.jsx - Results dashboard → Positive habits: renders
frontend/src/pages/ResultsPage.jsx - Results dashboard → Recommendations view: renders
frontend/src/pages/ResultsPage.jsx - Results dashboard → Action plan view: renders
frontend/src/pages/ResultsPage.jsx - Results dashboard → Time distribution chart: renders
frontend/src/pages/ResultsPage.jsx - Results dashboard → Leak breakdown chart: renders
frontend/src/pages/ResultsPage.jsx - Results dashboard → Energy chart: renders
frontend/src/pages/ResultsPage.jsx - Results dashboard → Focus chart: renders
frontend/src/pages/ResultsPage.jsx