Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/John-Weeks-Dev/ebay-clone
/ functions
Functions
61 in github.com/John-Weeks-Dev/ebay-clone
⨍
Functions
61
◇
Types & classes
0
↓ 18 callers
Function
useIsLoading
(bool)
app/hooks/useIsLoading.js:1
↓ 5 callers
Function
useCart
()
app/context/cart.js:99
↓ 4 callers
Function
useUser
()
app/context/user.js:72
↓ 2 callers
Function
clearUser
()
app/context/user.js:59
↓ 2 callers
Function
isItemAddedToCart
(product)
app/context/cart.js:43
↓ 2 callers
Function
setTheCurrentAddres
(result)
app/address/page.js:58
↓ 2 callers
Function
showError
(errorMsgText)
app/checkout/page.js:131
↓ 2 callers
Function
useUserAddress
()
app/hooks/useUserAddress.js:1
↓ 1 callers
Function
getAdddress
()
app/checkout/page.js:39
↓ 1 callers
Function
getAdddress
()
app/address/page.js:37
↓ 1 callers
Function
getCurrentSession
()
app/context/user.js:20
↓ 1 callers
Function
getCurrentUser
()
app/context/user.js:29
↓ 1 callers
Function
getOrders
()
app/orders/page.js:17
↓ 1 callers
Function
getProduct
()
app/product/[id]/page.js:15
↓ 1 callers
Function
getProducts
()
app/page.js:13
↓ 1 callers
Function
getRandomProducts
()
app/components/SimilarProducts.js:11
↓ 1 callers
Function
isUser
()
app/context/user.js:46
↓ 1 callers
Function
seedProducts
()
prisma/seed.js:4
↓ 1 callers
Function
stripeInit
()
app/checkout/page.js:55
↓ 1 callers
Function
useCreateAddress
(details)
app/hooks/useCreateAddress.js:1
↓ 1 callers
Function
validate
()
app/address/page.js:67
Function
AuthPage
()
app/auth/page.js:8
Function
CarouselComp
()
app/components/CarouselComp.js:6
Function
CartItem
({ product })
app/components/CartItem.js:5
Function
Checkout
()
app/checkout/page.js:17
Function
ClientOnly
({ children })
app/components/ClientOnly.js:5
Function
Footer
()
app/layouts/includes/Footer.js:3
Function
GET
(request)
app/auth/callback/route.js:5
Function
GET
(req, context)
app/api/product/[id]/route.js:4
Function
GET
()
app/api/products/route.js:4
Function
GET
(req, context)
app/api/products/search-by-name/[name]/route.js:4
Function
GET
()
app/api/products/get-random/route.js:4
Function
GET
()
app/api/orders/route.js:6
Function
GET
()
app/api/address/[id]/route.js:6
Function
Home
()
app/address/page.js:17
Function
Loading
()
app/components/Loading.js:5
Function
MainLayout
({ children })
app/layouts/MainLayout.js:10
Function
MainLayout
()
app/layouts/includes/MainHeader.js:9
Function
POST
(req)
app/api/orders/create/route.js:6
Function
POST
(req)
app/api/stripe/route.js:6
Function
POST
(req)
app/api/address/update/route.js:6
Function
POST
(req)
app/api/address/create/route.js:6
Function
Product
({ params })
app/product/[id]/page.js:10
Function
RootLayout
({ children })
app/layout.js:12
Function
Success
()
app/success/page.js:7
Function
TextInput
({ string, placeholder, error, onUpdate })
app/components/TextInput.js:3
Function
TopMenu
()
app/layouts/includes/TopMenu.js:12
Function
addToCart
(product)
app/context/cart.js:21
Function
cartCount
()
app/context/cart.js:58
Function
cartTotal
()
app/context/cart.js:66
Function
clearCart
()
app/context/cart.js:80
Function
getCart
()
app/context/cart.js:13
Function
goToCheckout
()
app/cart/page.js:23
Function
isLoggedIn
()
app/layouts/includes/TopMenu.js:20
Function
middleware
(req)
middleware.js:4
Function
pay
(event)
app/checkout/page.js:85
Function
removeFromCart
(product)
app/context/cart.js:32
Function
removeItemFromCart
()
app/components/CartItem.js:8
Function
showError
(type)
app/address/page.js:30
Function
signOut
()
app/context/user.js:53
Function
submit
(event)
app/address/page.js:91