Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/damienzeng73/shopping-cart
/ functions
Functions
128 in github.com/damienzeng73/shopping-cart
⨍
Functions
128
◇
Types & classes
52
↓ 3 callers
Function
fetchProducts
()
frontend/src/actions/Products.js:25
↓ 3 callers
Function
loginSuccess
(user)
frontend/src/actions/Auth.js:17
↓ 3 callers
Function
setAuthorizationToken
(token)
frontend/src/actions/Auth.js:31
↓ 2 callers
Function
registerValidSW
(swUrl)
frontend/src/registerServiceWorker.js:46
↓ 1 callers
Function
checkValidServiceWorker
(swUrl)
frontend/src/registerServiceWorker.js:75
↓ 1 callers
Function
clearBillingOptions
()
frontend/src/actions/Billing.js:10
↓ 1 callers
Function
clearCart
()
frontend/src/actions/Cart.js:30
↓ 1 callers
Function
clearShippingOptions
()
frontend/src/actions/Shipping.js:10
↓ 1 callers
Function
fetchOrdersFailure
(error)
frontend/src/actions/Account.js:22
↓ 1 callers
Function
fetchOrdersRequest
()
frontend/src/actions/Account.js:9
↓ 1 callers
Function
fetchOrdersSuccess
(orders)
frontend/src/actions/Account.js:15
↓ 1 callers
Function
fetchProductsFailure
(error)
frontend/src/actions/Products.js:18
↓ 1 callers
Function
fetchProductsRequest
()
frontend/src/actions/Products.js:5
↓ 1 callers
Function
fetchProductsSuccess
(products)
frontend/src/actions/Products.js:11
↓ 1 callers
Method
handleModalOnClose
()
frontend/src/components/Account.js:95
↓ 1 callers
Method
handleModalOnClose
()
frontend/src/components/Product.js:46
↓ 1 callers
Method
handleModalOnClose
()
frontend/src/components/Order.js:21
↓ 1 callers
Method
handleRemoveItem
(e, item)
frontend/src/containers/CartPage.js:50
↓ 1 callers
Method
handleSignupModalOnClose
()
frontend/src/components/Account.js:66
↓ 1 callers
Function
loginFailure
(error)
frontend/src/actions/Auth.js:24
↓ 1 callers
Function
loginRequest
(username)
frontend/src/actions/Auth.js:10
↓ 1 callers
Function
logout
()
frontend/src/actions/Auth.js:59
↓ 1 callers
Function
render
()
frontend/src/components/SelfProduct.js:58
↓ 1 callers
Method
render
()
frontend/src/containers/App.js:49
↓ 1 callers
Function
renewAuthorizationToken
(token)
frontend/src/actions/Auth.js:67
↓ 1 callers
Method
showStep
()
frontend/src/containers/CartPage.js:55
↓ 1 callers
Method
submit
()
frontend/src/containers/CartPage.js:40
Function
Main
()
frontend/src/containers/App.js:15
Function
OrderList
(props)
frontend/src/components/OrderList.js:8
Function
ProductList
(props)
frontend/src/components/ProductList.js:8
Function
SelfProductList
(props)
frontend/src/components/SelfProductList.js:8
Function
account
(state={}, action={})
frontend/src/reducers/Account.js:3
Function
addNewProduct
(productData)
frontend/src/actions/Account.js:54
Function
addToCart
(product, quantity)
frontend/src/actions/Cart.js:11
Function
auth
(state=initialState, action={})
frontend/src/reducers/Auth.js:10
Function
billing
(state={}, action={})
frontend/src/reducers/Billing.js:3
Function
cart
(state=[], action={})
frontend/src/reducers/Cart.js:5
Function
checkAuthorizationToken
(token)
frontend/src/actions/Auth.js:73
Method
componentDidMount
()
frontend/src/components/Navbar.js:21
Method
componentDidMount
()
frontend/src/containers/AccountPage.js:12
Method
componentDidMount
()
frontend/src/containers/ShoppingPage.js:11
Method
componentDidMount
()
frontend/src/containers/App.js:35
Method
componentWillMount
()
frontend/src/components/Shipping.js:25
Method
componentWillMount
()
frontend/src/components/Billing.js:16
Method
componentWillReceiveProps
(newProps)
frontend/src/components/Navbar.js:29
Method
componentWillReceiveProps
(newProps)
frontend/src/containers/AccountPage.js:18
Method
componentWillReceiveProps
(newProps)
frontend/src/containers/App.js:41
Method
componentWillUnmount
()
frontend/src/components/Navbar.js:25
Function
constructor
(props)
frontend/src/components/Confirmation.js:7
Function
constructor
(props)
frontend/src/components/SelfProduct.js:6
Method
constructor
(props)
frontend/src/components/Account.js:10
Method
constructor
(props)
frontend/src/components/Product.js:11
Method
constructor
(props)
frontend/src/components/Shipping.js:6
Method
constructor
(props)
frontend/src/components/Order.js:7
Method
constructor
(props)
frontend/src/components/Billing.js:6
Method
constructor
(props)
frontend/src/components/Navbar.js:10
Method
constructor
(props)
frontend/src/containers/App.js:28
Method
constructor
(props)
frontend/src/containers/CartPage.js:19
Function
deleteProduct
(productId, productName)
frontend/src/actions/Account.js:67
Function
dev_cors_middleware
Adds CORS headers for local testing only to allow the frontend, which is served on localhost:3000, to access the API, which is served
backend/backend/middleware.py:1
Function
fetchOrders
()
frontend/src/actions/Account.js:29
Function
filterProducts
(products)
frontend/src/actions/Products.js:38
Method
get_permissions
(self)
backend/cart/views.py:50
Method
get_queryset
(self)
backend/cart/views.py:37
Method
handleAddCount
()
frontend/src/components/Product.js:36
Method
handleAddNewProduct
()
frontend/src/components/Account.js:115
Method
handleAddToCart
()
frontend/src/components/Product.js:50
Method
handleCheckboxOnChange
(e, obj)
frontend/src/components/Shipping.js:55
Function
handleDeleteConfirm
()
frontend/src/components/SelfProduct.js:53
Function
handleDeleteConfirmCancel
()
frontend/src/components/SelfProduct.js:49
Function
handleDeleteConfirmOpen
()
frontend/src/components/SelfProduct.js:45
Method
handleLoginOnChange
(e)
frontend/src/components/Account.js:48
Method
handleMinusCount
()
frontend/src/components/Product.js:30
Function
handleModalOnClose
()
frontend/src/components/SelfProduct.js:41
Function
handleModalOpen
()
frontend/src/components/SelfProduct.js:37
Method
handleModalOpen
()
frontend/src/components/Account.js:91
Method
handleModalOpen
()
frontend/src/components/Product.js:42
Method
handleModalOpen
()
frontend/src/components/Order.js:17
Method
handleNewProductOnChange
(e)
frontend/src/components/Account.js:108
Function
handleOnChange
(e)
frontend/src/components/SelfProduct.js:28
Method
handleOnChange
(e)
frontend/src/components/Product.js:26
Method
handleOnChange
(e)
frontend/src/components/Shipping.js:43
Method
handleOnScroll
(e)
frontend/src/components/Navbar.js:35
Method
handleRadioOnChange
(e, obj)
frontend/src/components/Shipping.js:47
Method
handleRadioOnChange
(e, obj)
frontend/src/components/Billing.js:27
Method
handleSearchItems
(e)
frontend/src/components/Navbar.js:44
Method
handleSelectOnChange
(e, obj)
frontend/src/components/Shipping.js:51
Method
handleSignupModalOpen
()
frontend/src/components/Account.js:62
Method
handleSignupOnChange
(e)
frontend/src/components/Account.js:55
Function
handleUpdateProduct
()
frontend/src/components/SelfProduct.js:32
Method
handleUserLogin
()
frontend/src/components/Account.js:77
Method
handleUserLogout
()
frontend/src/components/Account.js:81
Method
handleUserSignup
()
frontend/src/components/Account.js:86
Method
has_object_permission
(self, request, view, obj)
backend/cart/permissions.py:8
Method
has_object_permission
(self, request, view, obj)
backend/cart/permissions.py:25
Method
has_permission
(self, request, view)
backend/cart/permissions.py:21
Function
login
(username, password)
frontend/src/actions/Auth.js:39
Function
mapStateToProps
(state)
frontend/src/containers/AccountPage.js:42
Function
mapStateToProps
(state)
frontend/src/containers/ShoppingPage.js:30
Function
mapStateToProps
(state)
frontend/src/containers/App.js:76
next →
1–100 of 128, ranked by callers