Skip to content

jpswelch/kyc-popaudit

Repository files navigation

KYC PopAudit

Client-only hackathon prototype: upload a customer population (CSV or XLSX), run KYC rules across 100% of rows, review exceptions and charts, then generate streamed AI audit findings via OpenAI.

Pitch deck

Hackathon slides: kyc-popaudit-pitch-v2.pptx.

Setup

cd kyc-popaudit
npm install
npm run dev

OpenAI API key (hackathon only)

Browser calls to OpenAI expose the API key to anyone who can open the app. Do not use production secrets.

  1. Create kyc-popaudit/.env.local:

    VITE_OPENAI_API_KEY=sk-...
  2. Optional: set VITE_OPENAI_MODEL (defaults to gpt-4o-mini in code).

  3. Restart npm run dev after changing env files.

Alternatively, paste a key on the AI Findings page; it is stored in sessionStorage for the current tab session only.

Mock data

Use the repo-root kyc_mockup_input.xlsx (150 rows) or any file whose headers match the rule field names.

Scripts

Command Description
npm run dev Vite dev server
npm run build Typecheck + production build
npm run test Vitest (rules engine)

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors