Files
conversation-history/Claude Conversations/fetcherpay-web/2026-04-10-Analyze-the-codebase-2034042c.md

2.5 KiB

Analyze the codebase

Project: fetcherpay-web
Session: 2034042c-098c-4528-9a6f-b840a18dc32e
Date: 2026-04-10
Messages: 6


👤 User

Analyze the codebase


🤖 Claude

[Tool: Agent]


🤖 Claude

FetcherPay Codebase Analysis

Project Overview

FetcherPay is a payment infrastructure platform providing a unified API that routes transactions across multiple payment rails (ACH, RTP, Cards, Crypto). This is a Turborepo monorepo.

Tech Stack

Component Technology
Framework Next.js 14 (React 18), Fastify
Language TypeScript (Node.js 18+)
Orchestration Temporal.io
Styling Tailwind CSS
Testing Jest, Playwright

Directory Structure

fetcherpay-web/
├── apps/
│   ├── api/              # Core API (Fastify + Temporal) - port 4000
│   ├── marketing/        # Next.js marketing site - port 3000
│   ├── admin/            # Admin dashboard (Next.js) - port 3002
│   ├── fetcherpay-sandbox/  # Mock API for testing
│   └── payments-worker-java/  # Java payment worker
├── packages/
│   ├── ui/               # Shared UI components
│   ├── config/           # ESLint/Tailwind configs
│   ├── types/            # Shared TypeScript types
│   └── utils/            # Shared utilities
└── sdks/
    ├── node/, react/, python/, java/

Key Architecture

The API uses Temporal.io for durable workflow orchestration:

  • Lead submissions trigger workflows with idempotency keys
  • Workflows parallelize scoring + CRM operations
  • High-value leads (score ≥70) trigger immediate notifications
  • Standard leads wait 1 hour before notification

Sandbox API

Provides deterministic mock endpoints simulating all payment rails for development/testing without hitting real payment networks.

Entry Points

  • apps/marketing/ — npm run dev (port 3000)
  • apps/api/ — npm run dev (port 4000)
  • apps/fetcherpay-sandbox/ — npm run dev

👤 User

Caveat: The messages below were generated by the user while running local commands. DO NOT respond to these messages or otherwise consider them in your response unless the user explicitly asks you to.


👤 User

/exit exit


👤 User

Goodbye!