mirror of
https://github.com/langchain-ai/fullstack-chat-client.git
synced 2026-07-01 22:04:05 -04:00
[PR #1] [MERGED] Stripe supatable #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langchain-ai/fullstack-chat-client/pull/1
Author: @starmorph
Created: 5/23/2025
Status: ✅ Merged
Merged: 5/23/2025
Merged by: @starmorph
Base:
main← Head:stripe-supatable📝 Commits (4)
9a60a95stripe supa table integration PR46b7234formatc9eeb3estripe cli webhook listening in readme6bb3e8fcredits deduction implementation, real time updating w optimistic updates and db validation/refund📊 Changes
23 files changed (+1960 additions, -228 deletions)
View changed files
➕
CREDIT_SYSTEM.md(+195 -0)📝
README.md(+6 -0)📝
package.json(+4 -0)📝
pnpm-lock.yaml(+78 -0)📝
src/app/api/[..._path]/route.ts(+1 -1)➕
src/app/api/create-checkout-session/route.ts(+130 -0)➕
src/app/api/user/credits/route.ts(+75 -0)➕
src/app/api/webhooks/stripe/route.ts(+193 -0)📝
src/app/layout.tsx(+4 -1)📝
src/app/pricing/page.tsx(+245 -183)➕
src/app/success/page.tsx(+246 -0)➕
src/components/credits/credit-balance.tsx(+87 -0)📝
src/components/navbar/index.tsx(+16 -17)📝
src/components/thread/index.tsx(+107 -24)📝
src/components/thread/messages/human.tsx(+10 -1)➕
src/components/ui/progress.tsx(+29 -0)➕
src/hooks/use-credit-deduction.ts(+127 -0)📝
src/lib/auth/supabase-client.ts(+54 -0)➕
src/lib/auth/supabase-server.ts(+26 -0)➕
src/lib/stripe-config.ts(+77 -0)...and 3 more files
📄 Description
No description provided
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.