Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NicolasPereira/nodejs-api-tcc
/ functions
Functions
40 in github.com/NicolasPereira/nodejs-api-tcc
⨍
Functions
40
◇
Types & classes
22
↓ 4 callers
Function
findShoppingListById
(id)
src/shoppingList/repository/shoppingListRepository.js:12
↓ 2 callers
Method
create
(req, res)
src/purchases/controllers/PurchaseController.js:10
↓ 2 callers
Function
createShoppingList
(title, userId)
src/shoppingList/repository/shoppingListRepository.js:3
↓ 2 callers
Function
findPurchaseById
(id)
src/purchases/repository/purchaseRepository.js:30
↓ 2 callers
Function
insertProductsInShoppingList
(products, shoppingListId)
src/shoppingListProducts/repository/productsRepository.js:4
↓ 1 callers
Function
comparePassword
(passwordRequest, passwordHash)
src/auth/utils/decrypt.js:2
↓ 1 callers
Method
create
(req, res)
src/shoppingListProducts/controllers/ShoppingListProductsController.js:10
↓ 1 callers
Function
createPurchase
(title, userId)
src/purchases/repository/purchaseRepository.js:3
↓ 1 callers
Function
createSmartList
(userId, products)
src/smartList/services/createSmartListService.js:9
↓ 1 callers
Function
deleteProductsInShoppingList
(productId)
src/shoppingListProducts/repository/productsRepository.js:13
↓ 1 callers
Function
deletePurchase
(id)
src/purchases/repository/purchaseRepository.js:61
↓ 1 callers
Function
deleteShoppingList
(id)
src/shoppingList/repository/shoppingListRepository.js:52
↓ 1 callers
Function
encryptPassword
(password)
src/users/utils/encrypt.js:4
↓ 1 callers
Function
findLastPurchaseByUser
(userId)
src/purchases/repository/purchaseRepository.js:49
↓ 1 callers
Function
findLastPurchasesProducts
(userId)
src/smartList/services/createSmartListService.js:26
↓ 1 callers
Function
findProductsByPurchaseId
(id)
src/purchasedProducts/repository/purchasedProductsRepository.js:12
↓ 1 callers
Function
findPurchasesByUserId
(userId)
src/purchases/repository/purchaseRepository.js:12
↓ 1 callers
Function
findShoppingListByUserId
(userId)
src/shoppingList/repository/shoppingListRepository.js:34
↓ 1 callers
Function
findUserById
(id)
src/users/repository/findUserByIdRepository.js:3
↓ 1 callers
Function
generateSmartShoppingListProducts
(products, purchasesProducts)
src/smartList/services/createSmartListService.js:32
↓ 1 callers
Function
generateToken
(user)
src/auth/utils/generateToken.js:4
↓ 1 callers
Function
insertProductsInPurchased
(products, purchaseId)
src/purchasedProducts/repository/purchasedProductsRepository.js:3
↓ 1 callers
Function
updateProductsStatus
(productId, status)
src/shoppingListProducts/repository/productsRepository.js:21
↓ 1 callers
Function
validateToken
(token)
src/shared/auth/validateToken.js:4
Function
authMiddleware
(req, res, next)
src/shared/middlewares/authMiddleware.js:4
Method
authenticate
(request, response)
src/auth/controllers/authController.js:7
Method
create
(req, res)
src/purchasedProducts/controllers/PurchasedProductsController.js:6
Method
create
(req, res)
src/smartList/controllers/SmartListController.js:5
Method
deleteProduct
(req, res)
src/shoppingListProducts/controllers/ShoppingListProductsController.js:23
Method
deletePurchase
(req, res)
src/purchases/controllers/PurchaseController.js:52
Method
findPurchaseById
(req, res)
src/purchases/controllers/PurchaseController.js:30
Method
findUserPurchases
(req, res)
src/purchases/controllers/PurchaseController.js:22
Method
handle
(req, res)
src/users/controllers/MeController.js:5
Method
handle
(request, response)
src/users/controllers/CreateUserController.js:7
Method
handle
(req, res)
src/shoppingList/controllers/CreateShoppingListController.js:5
Method
handle
(req, res)
src/shoppingList/controllers/DeleteShoppingListController.js:5
Method
handle
(req, res)
src/shoppingList/controllers/FindShoppingListByIdController.js:5
Method
handle
(req, res)
src/shoppingList/controllers/FindShoppingListByUserController.js:5
Method
updateCheckedProduct
(req, res)
src/shoppingListProducts/controllers/ShoppingListProductsController.js:35
Function
validatePayloadMiddleware
(req, res, next)
src/shared/middlewares/payloadValidatorMiddleware.js:3