• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
Rubasri

Rubasri

credit-card-fraud-detection

Public
Like
credit-card-fraud-detection
Home
Code
3
frontend
4
README.md
H
main.ts
Environment variables
Branches
1
Pull requests
Remixes
History
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
Code
/
Search
README.md

🛡️ FraudGuard AI — Credit Card Fraud Detection

A real-time credit card fraud detection web app built with React, Hono, and SQLite on Val Town.

🔗 Live Demo

Deployed on Val Town — see the endpoint URL in the val's HTTP file.

🏗️ Architecture

Rendering mermaid diagram...

🧠 Detection Rules

RuleRisk Points
Amount > $5,000+35
Amount > $2,000+20
International transaction+25
Late-night / midnight hours+20
High-risk category (crypto, gambling, wire)+25
Online + international combo+15

🚦 Risk Thresholds

ScoreStatusAction
0–39✅ ApprovedProceeds normally
40–69⚠️ FlaggedRequires manual review
70–100🚫 BlockedAutomatically blocked

📁 File Structure

main.ts              ← Hono HTTP server + fraud detection logic + SQLite
frontend/
  index.html         ← HTML entry point
  index.tsx          ← React entry point
  style.css          ← Dark theme UI styles
  components/
    App.tsx          ← Full React app (form, stats, table, charts)
README.md

🛠️ Tech Stack

  • Backend: Hono (TypeScript)
  • Frontend: React 18 (client-side)
  • Database: Val Town SQLite (std/sqlite)
  • Runtime: Deno on Val Town
Code
frontendREADME.md
H
main.ts
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
AboutAlternativesPricingBlogNewsletterCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2026 Val Town, Inc.