MCPcopy Create free account

hub / github.com/NicolasPereira/nodejs-api-tcc / functions

Functions40 in github.com/NicolasPereira/nodejs-api-tcc

↓ 4 callersFunctionfindShoppingListById
(id)
src/shoppingList/repository/shoppingListRepository.js:12
↓ 2 callersMethodcreate
(req, res)
src/purchases/controllers/PurchaseController.js:10
↓ 2 callersFunctioncreateShoppingList
(title, userId)
src/shoppingList/repository/shoppingListRepository.js:3
↓ 2 callersFunctionfindPurchaseById
(id)
src/purchases/repository/purchaseRepository.js:30
↓ 2 callersFunctioninsertProductsInShoppingList
(products, shoppingListId)
src/shoppingListProducts/repository/productsRepository.js:4
↓ 1 callersFunctioncomparePassword
(passwordRequest, passwordHash)
src/auth/utils/decrypt.js:2
↓ 1 callersMethodcreate
(req, res)
src/shoppingListProducts/controllers/ShoppingListProductsController.js:10
↓ 1 callersFunctioncreatePurchase
(title, userId)
src/purchases/repository/purchaseRepository.js:3
↓ 1 callersFunctioncreateSmartList
(userId, products)
src/smartList/services/createSmartListService.js:9
↓ 1 callersFunctiondeleteProductsInShoppingList
(productId)
src/shoppingListProducts/repository/productsRepository.js:13
↓ 1 callersFunctiondeletePurchase
(id)
src/purchases/repository/purchaseRepository.js:61
↓ 1 callersFunctiondeleteShoppingList
(id)
src/shoppingList/repository/shoppingListRepository.js:52
↓ 1 callersFunctionencryptPassword
(password)
src/users/utils/encrypt.js:4
↓ 1 callersFunctionfindLastPurchaseByUser
(userId)
src/purchases/repository/purchaseRepository.js:49
↓ 1 callersFunctionfindLastPurchasesProducts
(userId)
src/smartList/services/createSmartListService.js:26
↓ 1 callersFunctionfindProductsByPurchaseId
(id)
src/purchasedProducts/repository/purchasedProductsRepository.js:12
↓ 1 callersFunctionfindPurchasesByUserId
(userId)
src/purchases/repository/purchaseRepository.js:12
↓ 1 callersFunctionfindShoppingListByUserId
(userId)
src/shoppingList/repository/shoppingListRepository.js:34
↓ 1 callersFunctionfindUserById
(id)
src/users/repository/findUserByIdRepository.js:3
↓ 1 callersFunctiongenerateSmartShoppingListProducts
(products, purchasesProducts)
src/smartList/services/createSmartListService.js:32
↓ 1 callersFunctiongenerateToken
(user)
src/auth/utils/generateToken.js:4
↓ 1 callersFunctioninsertProductsInPurchased
(products, purchaseId)
src/purchasedProducts/repository/purchasedProductsRepository.js:3
↓ 1 callersFunctionupdateProductsStatus
(productId, status)
src/shoppingListProducts/repository/productsRepository.js:21
↓ 1 callersFunctionvalidateToken
(token)
src/shared/auth/validateToken.js:4
FunctionauthMiddleware
(req, res, next)
src/shared/middlewares/authMiddleware.js:4
Methodauthenticate
(request, response)
src/auth/controllers/authController.js:7
Methodcreate
(req, res)
src/purchasedProducts/controllers/PurchasedProductsController.js:6
Methodcreate
(req, res)
src/smartList/controllers/SmartListController.js:5
MethoddeleteProduct
(req, res)
src/shoppingListProducts/controllers/ShoppingListProductsController.js:23
MethoddeletePurchase
(req, res)
src/purchases/controllers/PurchaseController.js:52
MethodfindPurchaseById
(req, res)
src/purchases/controllers/PurchaseController.js:30
MethodfindUserPurchases
(req, res)
src/purchases/controllers/PurchaseController.js:22
Methodhandle
(req, res)
src/users/controllers/MeController.js:5
Methodhandle
(request, response)
src/users/controllers/CreateUserController.js:7
Methodhandle
(req, res)
src/shoppingList/controllers/CreateShoppingListController.js:5
Methodhandle
(req, res)
src/shoppingList/controllers/DeleteShoppingListController.js:5
Methodhandle
(req, res)
src/shoppingList/controllers/FindShoppingListByIdController.js:5
Methodhandle
(req, res)
src/shoppingList/controllers/FindShoppingListByUserController.js:5
MethodupdateCheckedProduct
(req, res)
src/shoppingListProducts/controllers/ShoppingListProductsController.js:35
FunctionvalidatePayloadMiddleware
(req, res, next)
src/shared/middlewares/payloadValidatorMiddleware.js:3