2 ms·
Hey HN, this is a very simple API server. It: - creates a `stripe` schema in a postgres database. - creates relevant tables/columns (eg, `customer` table, `pr
by kiwicopple 6y ago
Hey HN, this is a very simple API server. It:
- creates a `stripe` schema in a postgres database.
- creates relevant tables/columns (eg, `customer` table, `products` table ...)
- listens to stripe webhooks
- upserts data into the postgres database when Stripe issues a webhook
We built this to solve a few problems at Supabase. We just released billing and now our data is split between our Postgres database and stripe. We use Redash, and need a way to "join" stripe data onto our product data. We now ship the data to our main database so that we have a single-source of truth.
It's very basic for now, but we like to build in public. We're releasing it early to (hopefully) gather contributors.