Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/basir/node-react-ecommerce
/ functions
Functions
70 in github.com/basir/node-react-ecommerce
⨍
Functions
70
◇
Types & classes
0
↓ 4 callers
Function
listProducts
( category = '', searchKeyword = '', sortOrder = '' )
frontend/src/actions/productActions.js:21
↓ 3 callers
Function
getToken
(user)
backend/util.js:3
↓ 2 callers
Function
addToCart
(productId, qty)
frontend/src/actions/cartActions.js:5
↓ 2 callers
Function
openModal
(product)
frontend/src/screens/ProductsScreen.js:49
↓ 1 callers
Function
addPaypalSdk
()
frontend/src/components/PaypalButton.js:7
↓ 1 callers
Function
createOrder
(order)
frontend/src/actions/orderActions.js:7
↓ 1 callers
Function
createOrder
(data, actions)
frontend/src/components/PaypalButton.js:20
↓ 1 callers
Function
deleteHandler
(product)
frontend/src/screens/ProductsScreen.js:75
↓ 1 callers
Function
deleteOrder
(orderId)
frontend/src/actions/orderActions.js:79
↓ 1 callers
Function
deleteProdcut
(productId)
frontend/src/actions/productActions.js:82
↓ 1 callers
Function
detailsOrder
(orderId)
frontend/src/actions/orderActions.js:51
↓ 1 callers
Function
detailsProduct
(productId)
frontend/src/actions/productActions.js:72
↓ 1 callers
Function
listMyOrders
()
frontend/src/actions/orderActions.js:22
↓ 1 callers
Function
listOrders
()
frontend/src/actions/orderActions.js:36
↓ 1 callers
Function
logout
()
frontend/src/actions/userActions.js:48
↓ 1 callers
Function
onApprove
(data, actions)
frontend/src/components/PaypalButton.js:31
↓ 1 callers
Function
payOrder
(order, paymentResult)
frontend/src/actions/orderActions.js:65
↓ 1 callers
Function
register
(name, email, password)
frontend/src/actions/userActions.js:37
↓ 1 callers
Function
removeFromCart
(productId)
frontend/src/actions/cartActions.js:25
↓ 1 callers
Function
savePayment
(data)
frontend/src/actions/cartActions.js:34
↓ 1 callers
Function
saveProduct
(product)
frontend/src/actions/productActions.js:42
↓ 1 callers
Function
saveProductReview
(productId, review)
frontend/src/actions/productActions.js:99
↓ 1 callers
Function
saveShipping
(data)
frontend/src/actions/cartActions.js:31
↓ 1 callers
Function
signin
(email, password)
frontend/src/actions/userActions.js:26
↓ 1 callers
Function
update
({ userId, name, email, password })
frontend/src/actions/userActions.js:9
Function
OrderScreen
(props)
frontend/src/screens/OrderScreen.js:6
Function
PaymentScreen
(props)
frontend/src/screens/PaymentScreen.js:7
Function
PaypalButton
(props)
frontend/src/components/PaypalButton.js:4
Function
PlaceOrderScreen
(props)
frontend/src/screens/PlaceOrderScreen.js:6
Function
Rating
(props)
frontend/src/components/Rating.js:3
Function
cartReducer
(state = { cartItems: [], shipping: {}, payment: {} }, action)
frontend/src/reducers/cartReducers.js:3
Function
checkoutHandler
()
frontend/src/screens/CartScreen.js:23
Function
closeMenu
()
frontend/src/App.js:25
Function
deleteHandler
(order)
frontend/src/screens/OrdersScreen.js:22
Function
destination
(req, file, cb)
backend/routes/uploadRoute.js:8
Function
filename
(req, file, cb)
backend/routes/uploadRoute.js:11
Function
handleAddToCart
()
frontend/src/screens/ProductScreen.js:43
Function
handleLogout
()
frontend/src/screens/ProfileScreen.js:15
Function
handleSuccessPayment
(paymentResult)
frontend/src/screens/OrderScreen.js:21
Function
isAdmin
(req, res, next)
backend/util.js:36
Function
isAuth
(req, res, next)
backend/util.js:18
Function
key
(req, file, cb)
backend/routes/uploadRoute.js:34
Function
loading
( <div>Loading...</div> ) : error ? ( <div>{error} </div> ) : ( <>
frontend/src/screens/ProductScreen.js:52
Function
myOrderListReducer
(state = { orders: [] }, action)
frontend/src/reducers/orderReducers.js:42
Function
openMenu
()
frontend/src/App.js:22
Function
orderCreateReducer
(state = {}, action)
frontend/src/reducers/orderReducers.js:10
Function
orderDeleteReducer
(state = { order: { orderItems: [], shipping: {}, payment: {} } }, action)
frontend/src/reducers/orderReducers.js:88
Function
orderDetailsReducer
(state = { order: { orderItems: [], shipping: {}, payment: {} } }, action)
frontend/src/reducers/orderReducers.js:23
Function
orderListReducer
(state = { orders: [] }, action)
frontend/src/reducers/orderReducers.js:56
Function
orderPayReducer
(state = { order: { orderItems: [], shipping: {}, payment: {} } }, action)
frontend/src/reducers/orderReducers.js:70
Function
placeOrderHandler
()
frontend/src/screens/PlaceOrderScreen.js:25
Function
productDeleteReducer
(state = { product: {} }, action)
frontend/src/reducers/productReducers.js:46
Function
productDetailsReducer
(state = { product: { reviews: [] } }, action)
frontend/src/reducers/productReducers.js:33
Function
productListReducer
(state = { products: [] }, action)
frontend/src/reducers/productReducers.js:20
Function
productReviewSaveReducer
(state = {}, action)
frontend/src/reducers/productReducers.js:71
Function
productSaveReducer
(state = { product: {} }, action)
frontend/src/reducers/productReducers.js:59
Function
removeFromCartHandler
(productId)
frontend/src/screens/CartScreen.js:14
Function
sortHandler
(e)
frontend/src/screens/HomeScreen.js:27
Function
submitHandler
(e)
frontend/src/screens/HomeScreen.js:23
Function
submitHandler
(e)
frontend/src/screens/ProfileScreen.js:19
Function
submitHandler
(e)
frontend/src/screens/PaymentScreen.js:12
Function
submitHandler
(e)
frontend/src/screens/ProductScreen.js:32
Function
submitHandler
(e)
frontend/src/screens/RegisterScreen.js:26
Function
submitHandler
(e)
frontend/src/screens/ProductsScreen.js:60
Function
submitHandler
(e)
frontend/src/screens/SigninScreen.js:23
Function
submitHandler
(e)
frontend/src/screens/ShippingScreen.js:16
Function
uploadFileHandler
(e)
frontend/src/screens/ProductsScreen.js:78
Function
userRegisterReducer
(state = {}, action)
frontend/src/reducers/userReducers.js:29
Function
userSigninReducer
(state = {}, action)
frontend/src/reducers/userReducers.js:3
Function
userUpdateReducer
(state = {}, action)
frontend/src/reducers/userReducers.js:17