Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Chensokheng/next--supabase-saas-boilerplate
/ functions
Functions
40 in github.com/Chensokheng/next--supabase-saas-boilerplate
⨍
Functions
40
◇
Types & classes
1
↓ 12 callers
Function
cn
(...inputs: ClassValue[])
lib/utils.ts:4
↓ 5 callers
Function
useUser
()
app/hook/useUser.tsx:21
↓ 3 callers
Function
supabaseBrowser
()
lib/supabase/browser.ts:4
↓ 2 callers
Function
handleLoginWithOAuth
(provider: "github" | "google")
app/auth/components/AuthComponent.tsx:13
↓ 2 callers
Function
supabaseAdmin
()
lib/supabase/admin.ts:5
↓ 1 callers
Function
checkout
( email: string, priceId: string, redirectTo: string )
lib/actions/stripe.ts:5
↓ 1 callers
Function
manageBilling
(customer_id: string)
lib/actions/stripe.ts:20
↓ 1 callers
Function
onPpaymentSucceeded
( end_at: string, customer_id: string, subscription_id: string, email: string )
app/api/webhook/stripe/route.ts:62
↓ 1 callers
Function
onSubCancel
(subscription_id: string)
app/api/webhook/stripe/route.ts:80
Function
AuthComponent
()
app/auth/components/AuthComponent.tsx:10
Function
Checkout
({ priceId }: { priceId: string })
components/subscription/Checkout.tsx:12
Function
DropdownMenuShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
components/ui/dropdown-menu.tsx:171
Function
GET
(request: Request)
app/auth/callback/route.ts:5
Function
Navbar
()
components/Navbar.tsx:5
Function
POST
(req: any)
app/api/webhook/stripe/route.ts:10
Function
Page
()
app/profile/page.tsx:4
Function
Page
()
app/subscription/page.tsx:7
Function
Post
()
app/subscription/components/Post.tsx:4
Function
Price
()
components/subscription/price.tsx:9
Function
Profile
()
components/Profile.tsx:21
Function
QueryProvider
({ children }: { children: ReactNode })
components/query-provider.tsx:6
Function
RootLayout
({ children, }: Readonly<{ children: React.ReactNode; }>)
app/layout.tsx:15
Function
Subscription
()
app/profile/components/Subscription.tsx:7
Function
ThemeProvider
({ children, ...props }: ThemeProviderProps)
components/theme-provider.tsx:7
Function
get
(name: string)
middleware.ts:17
Function
get
(name: string)
lib/supabase/server.ts:13
Function
get
(name: string)
app/auth/callback/route.ts:18
Function
handleBilling
()
app/profile/components/Subscription.tsx:13
Function
handleCheckout
()
components/subscription/Checkout.tsx:17
Function
handleLogout
()
components/Profile.tsx:32
Function
middleware
(request: NextRequest)
middleware.ts:5
Function
page
()
app/page.tsx:8
Function
page
()
app/auth/page.tsx:4
Function
page
()
app/success/page.tsx:3
Function
page
()
app/dashboard/page.tsx:3
Function
remove
(name: string, options: CookieOptions)
middleware.ts:37
Function
remove
(name: string, options: CookieOptions)
app/auth/callback/route.ts:24
Function
set
(name: string, value: string, options: CookieOptions)
middleware.ts:20
Function
set
(name: string, value: string, options: CookieOptions)
app/auth/callback/route.ts:21
Function
supabaseServer
()
lib/supabase/server.ts:5