How kumar-alok-anand/uwillget_audit works
UwillGet is a digital-presence audit and client-reporting tool. Employees enter client details and manually researched platform, competitor, branding, and trust information; the app scores the audit, prepares findings and service recommendations, lets employees review them, then previews and exports or shares the report. The README describes browser-only storage, but sampled storage code also attempts server sync, and the tree contains an Express/MongoDB backend. Backend route and model internals were not sampled, so their wiring is shown only where supported.
Main entry points: AuditContext.tsx Audit state · AuditForm.tsx Audit form · StepPreview.tsx Export and share controls · storage.ts Audit persistence
Components 26
Audit workflow
- App shell
src/App.tsx - Audit dashboard
src/pages/Dashboard.tsx - Audit form
src/pages/AuditForm.tsx - Client details
src/steps/StepClient.tsx - Platform audit
src/components/PlatformAudit.tsx - Research and competitors
src/steps/StepResearch.tsx - Competitor research
src/steps/StepCompetitors.tsx - Audit review
src/steps/StepReview.tsx
Audit analysis
- Audit state
src/context/AuditContext.tsx - Question rules
src/data/questions/index.ts - Score calculation
src/utils/scoring.ts - Findings rules
src/utils/findings.ts - Service recommendations
src/utils/recommendations.ts
Report and sharing
- Report preview
src/pages/ReportPreview.tsx - Export and share controls
src/steps/StepPreview.tsx - PDF generator
src/utils/pdfGenerator.ts - WhatsApp message builder
src/utils/whatsapp.ts
Audit persistence
- Audit persistence
src/utils/storage.ts - Browser storage
- Audit API client
src/utils/api.ts
Server storage
- Express API
server/index.js - Audit routes
server/routes/audits.js - Audit model
server/models/Audit.js - MongoDB
Other components
- UwillGet employee
Connections 33
- UwillGet employee → App shell: opens
- App shell → Audit dashboard: shows
- App shell → Audit form: shows
- Audit dashboard → Audit form: opens audit
- Audit form → Client details: presents step
- Audit form → Platform audit: presents step
- Audit form → Research and competitors: presents step
- Audit form → Competitor research: presents step
- Audit form → Audit review: presents step
- Audit form → Export and share controls: presents step
- Client details → Audit state: updates
- Platform audit → Audit state: updates
- Research and competitors → Audit state: updates
- Competitor research → Audit state: updates
- Audit state → Question rules: reads rules
- Audit state → Score calculation: calculates scores
- Audit state → Findings rules: evaluates rules
- Audit state → Audit persistence: autosaves
- Audit review → Audit state: updates selections
- Audit review → Service recommendations: generates summary
- Audit form → Report preview: shows report
- Report preview → Audit state: reads audit
- Export and share controls → PDF generator: generates PDF
- Export and share controls → WhatsApp message builder: builds message
- Export and share controls → Audit persistence: exports JSON
- Export and share controls → Report preview: renders
- Export and share controls → WhatsApp: opens message
- Audit persistence → Browser storage: reads/writes
- Audit persistence → Audit API client: syncs audits
- Audit API client → Express API: requests
- Express API → Audit routes: mounts routes
- Audit routes → Audit model: uses model
- Audit model → MongoDB: persists audits