{"id":49612733,"url":"https://github.com/boyeep/tracecheck-ai","last_synced_at":"2026-05-04T18:04:33.129Z","repository":{"id":355053432,"uuid":"1225680953","full_name":"Boyeep/TraceCheck-AI","owner":"Boyeep","description":"AI-powered pharma incoming-material verification using OCR, cross-document validation, and QA review workflow.","archived":false,"fork":false,"pushed_at":"2026-05-01T16:38:22.000Z","size":2648,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-01T17:26:33.749Z","etag":null,"topics":["ai","azure","dicoding","hackathon","ocr","pharma","qa","react","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Boyeep.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-30T14:23:11.000Z","updated_at":"2026-05-01T16:38:25.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Boyeep/TraceCheck-AI","commit_stats":null,"previous_names":["boyeep/tracecheck-ai"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Boyeep/TraceCheck-AI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Boyeep%2FTraceCheck-AI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Boyeep%2FTraceCheck-AI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Boyeep%2FTraceCheck-AI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Boyeep%2FTraceCheck-AI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Boyeep","download_url":"https://codeload.github.com/Boyeep/TraceCheck-AI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Boyeep%2FTraceCheck-AI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32618412,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","azure","dicoding","hackathon","ocr","pharma","qa","react","typescript"],"created_at":"2026-05-04T18:04:25.875Z","updated_at":"2026-05-04T18:04:33.120Z","avatar_url":"https://github.com/Boyeep.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TraceCheck AI\n\nTraceCheck AI is a pharma incoming-material verification app. It helps receiving and QA teams compare a delivery note, certificate of analysis, and material label before releasing a batch into production.\n\n## What This Repo Contains\n\n- `frontend/` for the React + Vite product UI\n- `backend/` for the Express API, auth/session layer, and PostgreSQL-backed operations stack\n- `backend/function-app/` for the Azure Functions deployment variant\n- `shared/` for shared domain types, upload helpers, and TraceCheck decision logic\n- `e2e/` for Playwright browser smoke coverage\n- `perf/` for the lightweight load/perf smoke script\n\n## Documentation Map\n\n- [frontend/README.md](./frontend/README.md) for frontend setup, API wiring, auth UI flow, and E2E notes\n- [backend/README.md](./backend/README.md) for backend routes, auth/session persistence, PostgreSQL setup, migrations, and ops endpoints\n- [backend/function-app/README.md](./backend/function-app/README.md) for the Azure Functions deployment target\n\n## Current Product Scope\n\nLive today:\n\n- Multi-page React UI with landing, features, and workspace flows\n- Document upload and field extraction\n- Reviewable OCR output with editable field corrections\n- Cross-document mismatch checks and decision summaries\n- Session auth with persistent users and sessions\n- PostgreSQL-backed backend runtime with readiness, metrics, and audit scaffolding\n\nStill mocked or fallback-only:\n\n- ERP and supplier master-data integration\n- Historical analytics and approval workflow orchestration\n- Full production observability stack beyond the current local/webhook scaffold\n\n## Quick Start\n\nInstall everything:\n\n```bash\nnpm install\n```\n\nRun frontend and backend together:\n\n```bash\nnpm run dev\n```\n\nThat starts:\n\n- frontend on `http://127.0.0.1:5173` in normal Vite dev mode\n- backend on `http://127.0.0.1:8787`\n\n## Common Commands\n\nFrom the repo root:\n\n```bash\nnpm run dev\nnpm run dev:frontend\nnpm run dev:backend\nnpm run dev:functions\nnpm run build\nnpm run test:backend\nnpm run test:e2e\nnpm run test:perf\nnpm run ci\n```\n\nContainer workflow:\n\n```bash\nnpm run docker:build\nnpm run docker:up\nnpm run docker:up:detached\nnpm run docker:down\nnpm run docker:logs\n```\n\n## Local Architecture\n\n- The frontend talks to `/api/...` routes through the local Vite proxy in development.\n- The Express backend handles auth, uploads, analysis, readiness, metrics, and audit endpoints.\n- Shared business logic lives in `shared/` so frontend fallback behavior and backend decision logic stay aligned.\n- When session auth is enabled, backend users and sessions live in PostgreSQL. In development, the backend can fall back to `pg-mem` if no database URL is configured.\n\n## Recommended Reading Order\n\n1. Start here for repo-level orientation.\n2. Open [frontend/README.md](./frontend/README.md) if you are changing UI, routing, auth screens, or browser tests.\n3. Open [backend/README.md](./backend/README.md) if you are changing API routes, auth/session behavior, PostgreSQL setup, or operational endpoints.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboyeep%2Ftracecheck-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboyeep%2Ftracecheck-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboyeep%2Ftracecheck-ai/lists"}