How jojoasta381-max/span-qc works
SpanQC is a wiring-diagram quality-control SaaS. The principal workflow is an engineer uploading a schematic, selecting a project and standard, then reviewing a generated report and its findings. The README describes deterministic and OCR-based verification, coordinate-anchored evidence review, cryptographic sealing, and CSV/printable exports; the excerpts show upload, hashing, report creation, report storage, and review, but not the underlying verification engine. Several dashboard and account capabilities are represented at their enclosing page paths because their implementations were not sampled.
Main entry points: check/page.tsx Diagram upload · report-store.ts Report and export service · app/page.tsx Product discovery · qc.ts Hybrid verification engine
Components 22
Quality control
- Diagram upload
src/app/app/check/page.tsx - Hybrid verification engine
src/lib/api/qc.ts - Verification standards
src/types/index.ts - Sample QC cases
src/lib/data/sample-data.ts
Evidence and reports
- Report and export service
src/lib/services/report-store.ts - Finding review
src/app/app/reports/[reportId]/page.tsx - Report history
src/app/app/history/page.tsx
Identity and workspace
- QC dashboard
src/app/app/page.tsx - Authentication context
src/lib/context/auth-context.tsx - Auth API client
src/lib/api/auth.ts - HTTP API client
src/lib/api/client.ts - Auth endpoints
src/app/api/v1/auth/login/route.ts - Projects
src/app/app/projects/page.tsx - Team and settings
src/app/app/team/page.tsx - Billing and usage
src/app/app/billing/page.tsx
Product experience
- Product discovery
src/app/page.tsx - Marketing navigation
src/components/layout/MarketingNav.tsx - Marketing links
src/components/layout/MarketingFooter.tsx - Standards catalogue
src/app/standards/page.tsx - Pricing
src/app/pricing/page.tsx - UI components
src/components/ui
Other components
- Engineer
Connections 22
- Engineer → Product discovery: explores
src/app/page.tsx - Product discovery → Marketing navigation: renders
src/app/page.tsx - Product discovery → Marketing links: renders
src/app/page.tsx - Engineer → Diagram upload: uploads diagram
README.md - QC dashboard → Diagram upload: links to
src/app/app/page.tsx - Diagram upload → Report and export service: creates report
src/app/app/check/page.tsx - Diagram upload → Hybrid verification engine: requests verification
- Hybrid verification engine → Verification standards: checks against
README.md - Diagram upload → Sample QC cases: offers examples
src/app/app/check/page.tsx - Report and export service → Sample QC cases: loads cases
src/lib/services/report-store.ts - Report and export service → Finding review: supplies report
src/app/app/reports/[reportId]/page.tsx - Engineer → Finding review: reviews findings
README.md - Report and export service → Report history: provides history
- Engineer → Authentication context: signs in
README.md - Authentication context → Auth API client: calls
src/lib/context/auth-context.tsx - Auth API client → HTTP API client: uses
src/lib/api/auth.ts - HTTP API client → Auth endpoints: sends requests
- Engineer → Standards catalogue: browses standards
README.md - Engineer → Pricing: views pricing
src/app/pricing/page.tsx - Engineer → Projects: manages projects
- Engineer → Team and settings: manages workspace
- Engineer → Billing and usage: checks usage