Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/burakorkmez/northwind-store
/ functions
Functions
106 in github.com/burakorkmez/northwind-store
⨍
Functions
106
◇
Types & classes
0
↓ 21 callers
Function
apiFetch
(path, opts = {})
frontend/src/lib/api.js:7
↓ 15 callers
Function
logDemo
Attributes for Sentry Logs
frontend/src/pages/SentryDemoPage.jsx:6
↓ 11 callers
Function
formatPrice
(cents, currency)
frontend/src/utils/format.js:1
↓ 9 callers
Function
imageKitOptimizedUrl
(url, opts = {})
frontend/src/lib/imagekitUrl.js:79
↓ 8 callers
Function
getLocalUser
(clerkUserId: string)
backend/src/lib/users.ts:5
↓ 7 callers
Function
getEnv
()
backend/src/lib/env.ts:48
↓ 6 callers
Function
applyDemoScope
(scope, scenarioId)
frontend/src/pages/SentryDemoPage.jsx:25
↓ 4 callers
Function
checkoutBreadcrumbs
()
frontend/src/pages/SentryDemoPage.jsx:10
↓ 4 callers
Function
isStaff
(role: UserRole)
backend/src/lib/roles.ts:16
↓ 4 callers
Function
streamUserId
(clerkUserId: string)
backend/src/lib/stream.ts:20
↓ 3 callers
Function
getStreamChatServer
(env: Env)
backend/src/lib/stream.ts:16
↓ 3 callers
Function
headerString
(headers: Request["headers"], name: string)
backend/src/webhooks/polar.ts:8
↓ 3 callers
Function
setCategory
(category)
frontend/src/hooks/useHomeCatalog.js:9
↓ 3 callers
Function
streamChatDisplayName
( role: UserRole, displayName: string | null, email: string, )
backend/src/lib/stream.ts:5
↓ 2 callers
Function
addItem
(productId, qty = 1)
frontend/src/store/cart.js:10
↓ 2 callers
Function
alreadyPaid
(polarOrderId?: string, checkoutId?: string)
backend/src/webhooks/polar.ts:20
↓ 2 callers
Function
formatOrderWhen
(iso, opts = {})
frontend/src/utils/format.js:8
↓ 2 callers
Function
setQty
(productId, quantity)
frontend/src/store/cart.js:25
↓ 1 callers
Function
buildNorthwindTextLayer
* Text overlay (brand watermark). Chained after base transforms with ":". * @see https://imagekit.io/docs/add-overlays-on-images
frontend/src/lib/imagekitUrl.js:21
↓ 1 callers
Function
buildProductUpdateSet
(body: z.infer<typeof productPatch>)
backend/src/controllers/adminController.ts:32
↓ 1 callers
Function
buildTrSegment
* Build ImageKit transformation path segment (resize, crop, quality, format). * @see https://imagekit.io/docs/image-optimization * @see https://imag
frontend/src/lib/imagekitUrl.js:38
↓ 1 callers
Function
checkoutSessionIdFromMetadata
(order: Record<string, unknown>)
backend/src/webhooks/polar.ts:13
↓ 1 callers
Function
clerkWebhookHandler
(req: Request, res: Response)
backend/src/webhooks/clerk.ts:9
↓ 1 callers
Function
connectOrderChat
()
frontend/src/hooks/useOrderChatPage.js:33
↓ 1 callers
Function
connectOrderVideo
()
frontend/src/hooks/useOrderVideoPage.js:35
↓ 1 callers
Function
deleteImageKitAsset
(env: Env, storedFileId: string | null)
backend/src/lib/imagekit.ts:5
↓ 1 callers
Function
fulfillCheckoutSession
( sessionId: string, polarOrderId: string | undefined, checkoutId: string | undefined, )
backend/src/webhooks/polar.ts:40
↓ 1 callers
Function
handleDeleteProduct
(product)
frontend/src/pages/AdminProductsPage.jsx:26
↓ 1 callers
Function
imageKitWatermarkedUrl
(url, opts = {})
frontend/src/lib/imagekitUrl.js:126
↓ 1 callers
Function
isAdmin
(role: UserRole)
backend/src/lib/roles.ts:12
↓ 1 callers
Function
isImageKitDeliveryUrl
* @param {string} url * @returns {boolean}
frontend/src/lib/imagekitUrl.js:59
↓ 1 callers
Function
loadEnv
()
backend/src/lib/env.ts:34
↓ 1 callers
Function
main
()
backend/scripts/seed.ts:174
↓ 1 callers
Function
parseRole
(value: unknown)
backend/src/lib/roles.ts:5
↓ 1 callers
Function
polarCreateCheckout
(env: Env, body: CheckoutCreateBody)
backend/src/lib/polar.ts:20
↓ 1 callers
Function
polarWebhookHandler
(req: Request, res: Response)
backend/src/webhooks/polar.ts:82
↓ 1 callers
Function
removeItem
(productId)
frontend/src/store/cart.js:21
↓ 1 callers
Function
uploadImageToImageKit
(file, getToken, opts = {})
frontend/src/lib/imagekitUpload.js:5
↓ 1 callers
Function
useAdminProductsPage
()
frontend/src/hooks/useAdminProductsPage.js:6
↓ 1 callers
Function
useCartPage
()
frontend/src/hooks/useCartPage.js:8
↓ 1 callers
Function
useHomeCatalog
()
frontend/src/hooks/useHomeCatalog.js:5
↓ 1 callers
Function
useOrderChatPage
()
frontend/src/hooks/useOrderChatPage.js:8
↓ 1 callers
Function
useOrderDetailPage
()
frontend/src/hooks/useOrderDetailPage.js:6
↓ 1 callers
Function
useOrderVideoPage
()
frontend/src/hooks/useOrderVideoPage.js:8
↓ 1 callers
Function
useOrdersPage
()
frontend/src/hooks/useOrdersPage.js:5
↓ 1 callers
Function
useProductPage
()
frontend/src/hooks/useProductPage.js:5
Function
AdminProductForm
({ initial, saving, error, getToken, onCancel, onSubmit })
frontend/src/components/AdminProductForm.jsx:5
Function
AdminProductsPage
()
frontend/src/pages/AdminProductsPage.jsx:8
Function
AdminProductsTableSkeleton
()
frontend/src/components/LoadingSkeletons.jsx:75
Function
App
()
frontend/src/App.jsx:17
Function
CartPage
()
frontend/src/pages/CartPage.jsx:18
Function
CartSkeleton
({ lines = 3 })
frontend/src/components/LoadingSkeletons.jsx:16
Function
CatalogProductCard
({ product })
frontend/src/components/CatalogProductCard.jsx:7
Function
CheckoutReturnPage
()
frontend/src/pages/CheckoutReturnPage.jsx:7
Function
EmptyCart
()
frontend/src/components/EmptyCart.jsx:4
Function
Footer
()
frontend/src/components/Footer.jsx:4
Function
HomeHero
({ categories, loadingCategories })
frontend/src/components/HomeHero.jsx:4
Function
HomePage
()
frontend/src/pages/HomePage.jsx:7
Function
Layout
({ children })
frontend/src/components/Layout.jsx:4
Function
Navbar
()
frontend/src/components/Navbar.jsx:16
Function
OrderChatPage
()
frontend/src/pages/OrderChatPage.jsx:16
Function
OrderChatPanelSkeleton
()
frontend/src/components/LoadingSkeletons.jsx:146
Function
OrderDetailPage
()
frontend/src/pages/OrderDetailPage.jsx:16
Function
OrderDetailSkeleton
()
frontend/src/components/LoadingSkeletons.jsx:107
Function
OrderPreview
({ items, size = "md" })
frontend/src/components/OrderPreview.jsx:9
Function
OrderSummaryPage
()
frontend/src/pages/OrderSummaryPage.jsx:6
Function
OrderVideoPage
()
frontend/src/pages/OrderVideoPage.jsx:16
Function
OrderVideoSkeleton
()
frontend/src/components/LoadingSkeletons.jsx:137
Function
OrdersListSkeleton
()
frontend/src/components/LoadingSkeletons.jsx:52
Function
OrdersPage
()
frontend/src/pages/OrdersPage.jsx:9
Function
PageError
({ message, action })
frontend/src/components/PageError.jsx:3
Function
PageLoader
()
frontend/src/components/PageLoader.jsx:3
Function
ProductDetailPage
()
frontend/src/pages/ProductDetailPage.jsx:16
Function
ProductPageSkeleton
()
frontend/src/components/LoadingSkeletons.jsx:3
Function
SentryDemoPage
()
frontend/src/pages/SentryDemoPage.jsx:296
Function
SentryErrorFallback
()
frontend/src/components/SentryErrorFallback.jsx:3
Function
SentryUserSync
()
frontend/src/components/SentryUserSync.jsx:6
Function
TrustStrip
()
frontend/src/components/TrustStrip.jsx:26
Function
checkout
()
frontend/src/hooks/useCartPage.js:38
Function
clear
()
frontend/src/store/cart.js:36
Function
createAdminProduct
(req: Request, res: Response, next: NextFunction)
backend/src/controllers/adminController.ts:92
Function
createCheckout
(req: Request, res: Response, next: NextFunction)
backend/src/controllers/checkoutController.ts:24
Function
createStreamChannel
(req: Request, res: Response, next: NextFunction)
backend/src/controllers/orderController.ts:123
Function
createStreamToken
(req: Request, res: Response, next: NextFunction)
backend/src/controllers/streamController.ts:9
Function
createVideoInvite
(req: Request, res: Response, next: NextFunction)
backend/src/controllers/orderController.ts:184
Function
deleteAdminProduct
(req: Request, res: Response, next: NextFunction)
backend/src/controllers/adminController.ts:147
Function
getCategories
(_req: Request, res: Response, next: NextFunction)
backend/src/controllers/productController.ts:25
Function
getImageKitAuth
(_req: Request, res: Response, next: NextFunction)
backend/src/controllers/adminController.ts:67
Function
getOrder
(req: Request, res: Response, next: NextFunction)
backend/src/controllers/orderController.ts:75
Function
getProductBySlug
(req: Request, res: Response, next: NextFunction)
backend/src/controllers/productController.ts:40
Function
handleImageUpload
(e)
frontend/src/components/AdminProductForm.jsx:57
Function
handleSubmit
(e)
frontend/src/components/AdminProductForm.jsx:18
Function
listAdminProducts
(_req: Request, res: Response, next: NextFunction)
backend/src/controllers/adminController.ts:83
Function
listOrders
(req: Request, res: Response, next: NextFunction)
backend/src/controllers/orderController.ts:13
Function
listProducts
(req: Request, res: Response, next: NextFunction)
backend/src/controllers/productController.ts:6
Function
requireAdmin
(req: Request, res: Response, next: NextFunction)
backend/src/controllers/adminController.ts:48
Function
sendErrorBatch
()
frontend/src/pages/SentryDemoPage.jsx:283
Function
sendInsufficientStockError
()
frontend/src/pages/SentryDemoPage.jsx:81
Function
sendPaymentDeclinedError
()
frontend/src/pages/SentryDemoPage.jsx:30
Function
sendRateLimitWarning
()
frontend/src/pages/SentryDemoPage.jsx:255
next →
1–100 of 106, ranked by callers