AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing supabase/stripe-sync-engine in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler viewStripe Sync Engine Monorepo This monorepo contains two packages for synchronizing your Stripe account with a PostgreSQL database: • : A TypeScript library for syncing Stripe data to PostgreSQL, designed for integration into your own Node.js backend or serverless environment. • : A Fastify-based server and Docker image that exposes a endpoint for Stripe, providing a ready-to-run service for real-time Stripe-to-PostgreSQL sync. --- Motivation Sometimes you want to analyze your billing data using SQL. Even more importantly, you want to join your billing data to your product/business data. This project synchronizes your Stripe account to a PostgreSQL database. It can be a new database, or an existing PostgreSQL database. --- How it works • Creates a new schema in a PostgreSQL database, with tables and columns matching Stripe. • Exposes a endpoint that listens to any Stripe webhooks (via the Fastify app). • Inserts, updates, or deletes changes into the tables whenever there is a change to Stripe. > **Note:** If other PostgreSQL users need access to the schema, grant them privileges: > > --- Packages • Library: @supabase/stripe-sync-engine • Docker/Server: supabase/stripe-sync-engine Each package has its own README with installation, configuration, and usage instructions. --- Supabase Edge Function To deploy the sync-engine to a Supabase Edge Function, follow this guide. Webhook Support • [ ] • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟡 - For updates on all refunds, listen to instead • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [ ] • [ ] • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [ ] 🔴 - Event has no id and cannot be processed • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [ ] • [ ] • [ ] • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢 • [x] 🟢