Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kuzma02/Electronics-eCommerce-Shop-With-Admin-Dashboard-NextJS-NodeJS
/ functions
Functions
320 in github.com/Kuzma02/Electronics-eCommerce-Shop-With-Admin-Dashboard-NextJS-NodeJS
⨍
Functions
320
◇
Types & classes
50
Function
RegisterPage
()
app/register/page.tsx:9
Function
RootLayout
({ children, }: Readonly<{ children: React.ReactNode; }>)
app/layout.tsx:19
Function
SearchInput
()
components/SearchInput.tsx:16
Function
SearchPage
({ searchParams }: Props)
app/search/page.tsx:11
Function
SectionTitle
({title, path} : {title: string; path: string})
components/SectionTitle.tsx:13
Function
SessionTimeoutTest
()
components/SessionTimeoutTest.tsx:6
Function
SessionTimeoutWrapper
()
components/SessionTimeoutWrapper.tsx:5
Function
ShopPage
({ params, searchParams }: { params: Promise<{ slug?: string[] }>, searchParams: Promise<{ [key: string]: stri
app/shop/[[...slug]]/page.tsx:25
Function
SimpleSlider
()
components/SimpleSlider.tsx:18
Function
SingleProductDynamicFields
({ product }: { product: Product })
components/SingleProductDynamicFields.tsx:17
Function
SingleProductPage
({ params }: SingleProductPageProps)
app/product/[productSlug]/page.tsx:28
Function
SortBy
()
components/SortBy.tsx:15
Function
StatsElement
()
components/StatsElement.tsx:9
Function
StockAvailabillity
({ stock, inStock } : { stock: number, inStock: number })
components/StockAvailabillity.tsx:16
Function
UrgencyText
({stock} : { stock: number })
components/UrgencyText.tsx:7
Function
WishlistModule
()
components/modules/wishlist/index.tsx:9
Function
addNewCategory
()
app/(dashboard)/admin/categories/new/page.tsx:13
Function
addNewUser
()
app/(dashboard)/admin/users/new/page.tsx:19
Function
addProduct
()
app/(dashboard)/admin/products/new/page.tsx:34
Function
addRequestId
(req, res, next)
server/middleware/requestLogger.js:32
Function
asyncApiHandler
(fn: Function)
utils/errorHandler.ts:232
Function
asyncHandler
(fn: Function)
utils/errorHandler.ts:223
Function
authorize
(credentials: any)
app/api/auth/[...nextauth]/route.ts:20
Function
bulkDeleteNotifications
* Bulk delete notifications
lib/notification-api.ts:108
Function
bulkDeleteNotifications
(req, res)
server/controllers/notificationController.js:219
Function
bulkMarkAsRead
* Bulk mark notifications as read
lib/notification-api.ts:79
Function
bulkMarkAsRead
(req, res)
server/controllers/notificationController.js:158
Method
constructor
(message: string, statusCode: number = 500, isOperational: boolean = true)
utils/errorHandler.ts:8
Method
constructor
()
server/scripts/migration-validator.js:6
Method
constructor
()
server/scripts/backup-database.js:6
Method
constructor
(message, field = null)
server/utills/validation.js:7
Method
constructor
(message, statusCode = 500, isOperational = true)
server/utills/errorHandler.js:3
Function
createBulkNotifications
( userIds: string[], title: string, message: string, type: NotificationType, priority: NotificationP
lib/notification-helpers.ts:138
Function
createBulkNotifications
(userIds, title, message, type = 'SYSTEM_ALERT', priority = 'NORMAL', metadata = {})
server/utills/notificationHelpers.js:210
Function
createCustomerOrder
(request, response)
server/controllers/customer_orders.js:6
Function
createDynamicLimiter
(windowMs, max, message)
server/middleware/advancedRateLimiter.js:76
Function
createImage
(request, response)
server/controllers/productImages.js:15
Function
createMerchant
(request, response)
server/controllers/merchant.js:41
Function
createNotification
* Create a new notification
lib/notification-api.ts:53
Function
createNotification
(req, res)
server/controllers/notificationController.js:78
Function
createOrderUpdateNotification
( userId: string, orderStatus: string, orderId: string )
lib/notification-helpers.ts:33
Function
createPaymentNotification
( userId: string, paymentStatus: 'success' | 'failed' | 'pending', amount: number, orderId: string )
lib/notification-helpers.ts:69
Function
createPaymentNotification
(userId, paymentStatus, amount, orderId)
server/utills/notificationHelpers.js:93
Function
createPromotionNotification
( userId: string, title: string, message: string, promoCode?: string, discount?: number )
lib/notification-helpers.ts:100
Function
createPromotionNotification
(userId, title, message, promoCode = null, discount = null)
server/utills/notificationHelpers.js:149
Function
createSystemAlertNotification
( userId: string, title: string, message: string, priority: NotificationPriority = NotificationPriorit
lib/notification-helpers.ts:120
Function
createSystemAlertNotification
(userId, title, message, priority = 'HIGH')
server/utills/notificationHelpers.js:180
Function
deleteCategory
()
app/(dashboard)/admin/categories/[id]/page.tsx:23
Function
deleteCustomerOrder
(request, response)
server/controllers/customer_orders.js:285
Function
deleteImage
(request, response)
server/controllers/productImages.js:68
Function
deleteMerchant
(request, response)
server/controllers/merchant.js:89
Function
deleteNotification
(req, res)
server/controllers/notificationController.js:191
Function
deleteOrder
()
app/(dashboard)/admin/orders/[id]/page.tsx:124
Function
deleteProduct
()
app/(dashboard)/admin/products/[id]/page.tsx:28
Function
deleteUser
()
app/(dashboard)/admin/users/[id]/page.tsx:28
Function
deleteWishItem
(id: string)
app/actions/index.ts:6
Function
downloadTemplate
()
app/(dashboard)/admin/bulk-upload/page.tsx:136
Method
formatInsertValues
(data)
server/scripts/migration-validator.js:106
Function
getAllMerchants
(request, response)
server/controllers/merchant.js:4
Function
getAllOrders
(request, response)
server/controllers/customer_orders.js:366
Function
getCustomerOrder
(request, response)
server/controllers/customer_orders.js:332
Function
getMerchantById
(request, response)
server/controllers/merchant.js:18
Function
getProductBySlug
(request, response)
server/controllers/slugs.js:3
Function
getSingleProductImages
(request, response)
server/controllers/productImages.js:4
Function
getUnreadCount
* Get unread notification count for a user
lib/notification-api.ts:40
Function
getUnreadCount
(req, res)
server/controllers/notificationController.js:251
Function
getUserNotifications
* Get user notifications with filtering and pagination
lib/notification-api.ts:13
Function
getUserNotifications
(req, res)
server/controllers/notificationController.js:7
Function
handleAddToCart
()
components/AddToCartSingleProductBtn.tsx:23
Function
handleAddToCart
()
components/BuyNowSingleProductBtn.tsx:24
Function
handleBulkDelete
()
app/notifications/page.tsx:109
Function
handleBulkMarkAsRead
()
app/notifications/page.tsx:103
Function
handleClickOutside
(event: MouseEvent)
components/NotificationBell.tsx:21
Function
handleDelete
()
app/(dashboard)/admin/merchant/[id]/page.tsx:114
Function
handleDeleteCancel
()
components/BulkUploadHistory.tsx:128
Function
handleDeleteConfirm
()
components/BulkUploadHistory.tsx:76
Function
handleDrag
(e: React.DragEvent)
app/(dashboard)/admin/bulk-upload/page.tsx:41
Function
handleDrop
(e: React.DragEvent)
app/(dashboard)/admin/bulk-upload/page.tsx:51
Function
handleFileChange
(e: React.ChangeEvent<HTMLInputElement>)
app/(dashboard)/admin/bulk-upload/page.tsx:70
Function
handleInputChange
( e: React.ChangeEvent< HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement > )
app/(dashboard)/admin/merchant/new/page.tsx:21
Function
handleInputChange
( e: React.ChangeEvent< HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement > )
app/(dashboard)/admin/merchant/[id]/page.tsx:86
Function
handleLogout
()
components/Header.tsx:33
Function
handleOrderCompleted
()
hooks/useNotifications.ts:234
Function
handleRange
(e: React.ChangeEvent<HTMLInputElement>)
components/Range.tsx:24
Function
handleSearch
(e: React.FormEvent)
app/notifications/page.tsx:74
Function
handleSelectAll
()
app/notifications/page.tsx:115
Function
handleSubmit
(e: any)
app/register/page.tsx:26
Function
handleSubmit
(e: React.FormEvent)
app/(dashboard)/admin/merchant/new/page.tsx:30
Function
handleSubmit
(e: React.FormEvent)
app/(dashboard)/admin/merchant/[id]/page.tsx:95
Function
handleSubmit
(e: any)
app/login/page.tsx:30
Function
handleUpload
()
app/(dashboard)/admin/bulk-upload/page.tsx:85
Function
headers
()
next.config.mjs:15
Function
isAdmin
()
utils/adminAuth.ts:19
Function
isSmallScreen
()
helpers/is-small-screen.ts:3
Function
isValidCardNumber
(input: string)
lib/utils.ts:122
Function
isValidCreditCardCVVOrCVC
(input: string)
lib/utils.ts:250
Function
isValidCreditCardExpirationDate
(input: string)
lib/utils.ts:244
Function
jwt
({ token, user })
app/api/auth/[...nextauth]/route.ts:93
Function
makePurchase
()
app/checkout/page.tsx:90
Function
request
(endpoint: string, options: RequestInit = {})
lib/api.ts:6
← previous
next →
201–300 of 320, ranked by callers