[PR #1] [MERGED] Stripe supatable #2

Closed
opened 2026-02-16 08:17:54 -05:00 by yindo · 0 comments
Owner

📋 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: mainHead: stripe-supatable


📝 Commits (4)

  • 9a60a95 stripe supa table integration PR
  • 46b7234 format
  • c9eeb3e stripe cli webhook listening in readme
  • 6bb3e8f credits 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.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/fullstack-chat-client/pull/1 **Author:** [@starmorph](https://github.com/starmorph) **Created:** 5/23/2025 **Status:** ✅ Merged **Merged:** 5/23/2025 **Merged by:** [@starmorph](https://github.com/starmorph) **Base:** `main` ← **Head:** `stripe-supatable` --- ### 📝 Commits (4) - [`9a60a95`](https://github.com/langchain-ai/fullstack-chat-client/commit/9a60a95d15c0b7e09d6d1790104f2feb5f5aefe5) stripe supa table integration PR - [`46b7234`](https://github.com/langchain-ai/fullstack-chat-client/commit/46b723495d2fce737f319442f98e7840d27b3c63) format - [`c9eeb3e`](https://github.com/langchain-ai/fullstack-chat-client/commit/c9eeb3e14d994f90b6676f5f73a5837dc46aed1f) stripe cli webhook listening in readme - [`6bb3e8f`](https://github.com/langchain-ai/fullstack-chat-client/commit/6bb3e8f17a516aac896a523d874aa54e6c464d10) credits deduction implementation, real time updating w optimistic updates and db validation/refund ### 📊 Changes **23 files changed** (+1960 additions, -228 deletions) <details> <summary>View changed files</summary> ➕ `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_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 08:17:54 -05:00
yindo closed this issue 2026-02-16 08:17:54 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/fullstack-chat-client#2