Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RafaelGoulartB/next-ecommerce
/ functions
Functions
74 in github.com/RafaelGoulartB/next-ecommerce
⨍
Functions
74
◇
Types & classes
0
↓ 4 callers
Function
listProducts
({ sort, category })
lib/product.js:3
↓ 3 callers
Function
findProduct
({ id })
lib/product.js:49
↓ 3 callers
Function
findUser
({ email })
lib/user.js:21
↓ 2 callers
Function
getErrorMessage
(error)
lib/form.js:1
↓ 2 callers
Function
toggleCart
(id)
utils/toggleProductStates.js:10
↓ 1 callers
Function
CreateProduct
(input)
lib/product.js:65
↓ 1 callers
Function
DeleteProduct
({ id })
lib/product.js:99
↓ 1 callers
Function
UpdateProduct
(id, input)
lib/product.js:105
↓ 1 callers
Function
createApolloClient
()
apollo/client/index.js:22
↓ 1 callers
Function
createIsomorphLink
()
apollo/client/index.js:8
↓ 1 callers
Function
createUser
({ name, email, password })
lib/user.js:5
↓ 1 callers
Function
findProductsById
({ id })
lib/product.js:55
↓ 1 callers
Function
getLoginSession
(req)
lib/auth.js:15
↓ 1 callers
Function
getTokenCookie
(req)
lib/auth-cookies.js:38
↓ 1 callers
Function
initializeApollo
(initialState = null)
apollo/client/index.js:30
↓ 1 callers
Function
listCategories
()
lib/category.js:3
↓ 1 callers
Function
parseCookies
(req)
lib/auth-cookies.js:29
↓ 1 callers
Function
removeTokenCookie
(res)
lib/auth-cookies.js:20
↓ 1 callers
Function
setLoginSession
(res, session)
lib/auth.js:6
↓ 1 callers
Function
setTokenCookie
(res, token)
lib/auth-cookies.js:7
↓ 1 callers
Function
signIn
(_parent, args, context, _info)
apollo/resolvers.js:78
↓ 1 callers
Function
signOut
(_parent, _args, context, _info)
apollo/resolvers.js:94
↓ 1 callers
Function
signUp
(_parent, args, _context, _info)
apollo/resolvers.js:69
↓ 1 callers
Function
useApollo
(initialState)
apollo/client/index.js:46
↓ 1 callers
Function
validatePassword
(user, inputPassword)
lib/user.js:29
Function
Alert
({ message })
components/alerts/error.js:1
Function
Alert
({ message })
components/alerts/success.js:1
Function
App
({ Component, pageProps })
pages/_app.js:5
Function
Button
({ type, title })
components/form/button.js:1
Function
Category
()
pages/category/[category].js:6
Function
Checkout
()
pages/checkout.js:1
Function
FinishOrderCart
()
components/finishOrderCart.js:5
Function
FormContainer
({ children })
components/form/formContainer.js:1
Function
Fotter
()
components/footer.js:14
Function
Header
()
components/header/index.js:7
Function
HeaderBarProducts
()
components/headerBarProducts.js:5
Function
HeaderMobile
({ viewer })
components/header/header-mobile.js:7
Function
Index
()
pages/index.js:5
Function
Input
({ type, name, placeholder, onChange, value })
components/form/input.js:3
Function
InputContainer
({ children })
components/form/InputContainer.js:1
Function
LoadingPage
()
components/loading-page.js:3
Function
Login
()
pages/user/resetpassword.js:13
Function
Login
()
pages/user/login.js:15
Function
Logo
()
components/logo.js:3
Function
PageContainer
({ title, description, children })
components/page-container.js:3
Function
ProductSection
({ category })
components/productSection.js:6
Function
ProductsGrid
({ children })
components/productsGrid.js:1
Function
Profile
({ title })
components/title.js:1
Function
PromoCard
()
components/promoCard.js:1
Function
SearchBox
()
components/search-box.js:3
Function
SideDrawer
({ closeDrawer })
components/header/side-drawer.js:6
Function
SignOut
()
pages/user/signout.js:12
Function
SignUp
()
pages/user/signup.js:15
Function
ToggleDrawerButton
({ openDrawer })
components/header/open-drawer-button.js:1
Function
Warning
({ message })
components/alerts/warnig.js:1
Function
categories
(_parent, _args, _context, _info)
apollo/resolvers.js:60
Function
context
(ctx)
pages/api/graphql.js:11
Function
createProduct
(_parent, args, _context, _info)
apollo/resolvers.js:98
Function
deleteProduct
(_parent, args, _context, _info)
apollo/resolvers.js:107
Function
handleChange
(event)
components/form/input.js:4
Function
handleHighPriceProductsClick
()
components/headerBarProducts.js:14
Function
handleLowPriceProductsClick
()
components/headerBarProducts.js:11
Function
handlePopularProductsClick
()
components/headerBarProducts.js:8
Function
handleSubmit
(e)
pages/user/signup.js:25
Function
handleSubmit
(e)
pages/user/resetpassword.js:19
Function
handleSubmit
(e)
pages/user/login.js:24
Function
product
(_parent, args, _context, _info)
apollo/resolvers.js:53
Function
products
(_parent, args, _context, _info)
apollo/resolvers.js:30
Function
productsById
(_parent, args, _context, _info)
apollo/resolvers.js:46
Function
read
()
apollo/client/cache.js:8
Function
toggleDrawer
()
components/header/header-mobile.js:8
Function
toggleWishlist
(id)
utils/toggleProductStates.js:3
Function
updateProduct
(_parent, args, _context, _info)
apollo/resolvers.js:115
Function
viewer
(_parent, _args, context, _info)
apollo/resolvers.js:17