MCPcopy Create free account

hub / github.com/Surendrakumarpatel/instaclone / functions

Functions76 in github.com/Surendrakumarpatel/instaclone

↓ 23 callersFunctioncn
(...inputs)
frontend/src/lib/utils.js:4
↓ 3 callersFunctiongetReceiverSocketId
(receiverId)
backend/socket/socket.js:18
↓ 2 callersFunctionhandleTabChange
(tab)
frontend/src/components/Profile.jsx:21
↓ 1 callersFunctionconnectDB
()
backend/utils/db.js:3
↓ 1 callersFunctionfetchAllMessage
()
frontend/src/hooks/useGetAllMessage.jsx:11
↓ 1 callersFunctionfetchAllPost
()
frontend/src/hooks/useGetAllPost.jsx:10
↓ 1 callersFunctionfetchSuggestedUsers
()
frontend/src/hooks/useGetSuggestedUsers.jsx:10
↓ 1 callersFunctionfetchUserProfile
()
frontend/src/hooks/useGetUserProfile.jsx:11
↓ 1 callersFunctiongetDataUri
(file)
backend/utils/datauri.js:6
↓ 1 callersFunctionlogoutHandler
()
frontend/src/components/LeftSidebar.jsx:22
↓ 1 callersFunctionreadFileAsDataURL
(file)
frontend/src/lib/utils.js:8
↓ 1 callersFunctionsendMessageHandler
(receiverId)
frontend/src/components/ChatPage.jsx:18
↓ 1 callersFunctionsidebarHandler
(textType)
frontend/src/components/LeftSidebar.jsx:37
↓ 1 callersFunctionuseGetAllMessage
()
frontend/src/hooks/useGetAllMessage.jsx:7
↓ 1 callersFunctionuseGetAllPost
()
frontend/src/hooks/useGetAllPost.jsx:7
↓ 1 callersFunctionuseGetRTM
()
frontend/src/hooks/useGetRTM.jsx:5
↓ 1 callersFunctionuseGetSuggestedUsers
()
frontend/src/hooks/useGetSuggestedUsers.jsx:7
↓ 1 callersFunctionuseGetUserProfile
(userId)
frontend/src/hooks/useGetUserProfile.jsx:7
FunctionApp
()
frontend/src/App.jsx:51
FunctionBadge
({ className, variant, ...props })
frontend/src/components/ui/badge.jsx:26
FunctionChatPage
()
frontend/src/components/ChatPage.jsx:12
FunctionComment
({ comment })
frontend/src/components/Comment.jsx:4
FunctionCommentDialog
({ open, setOpen })
frontend/src/components/CommentDialog.jsx:13
FunctionCreatePost
({ open, setOpen })
frontend/src/components/CreatePost.jsx:13
FunctionDialogFooter
({ className, ...props })
frontend/src/components/ui/dialog.jsx:57
FunctionDialogHeader
({ className, ...props })
frontend/src/components/ui/dialog.jsx:47
FunctionEditProfile
()
frontend/src/components/EditProfile.jsx:13
FunctionFeed
()
frontend/src/components/Feed.jsx:4
FunctionHome
()
frontend/src/components/Home.jsx:8
FunctionLeftSidebar
()
frontend/src/components/LeftSidebar.jsx:14
FunctionLogin
()
frontend/src/components/Login.jsx:11
FunctionMainLayout
()
frontend/src/components/MainLayout.jsx:5
FunctionMessages
({ selectedUser })
frontend/src/components/Messages.jsx:9
FunctionPost
({ post })
frontend/src/components/Post.jsx:14
FunctionPosts
()
frontend/src/components/Posts.jsx:5
FunctionProfile
()
frontend/src/components/Profile.jsx:10
FunctionProtectedRoutes
({children})
frontend/src/components/ProtectedRoutes.jsx:5
FunctionRightSidebar
()
frontend/src/components/RightSidebar.jsx:7
FunctionSignup
()
frontend/src/components/Signup.jsx:10
FunctionSuggestedUsers
()
frontend/src/components/SuggestedUsers.jsx:6
FunctionToaster
({ ...props })
frontend/src/components/ui/sonner.jsx:4
FunctionaddComment
(req,res)
backend/controllers/post.controller.js:157
FunctionaddNewPost
(req, res)
backend/controllers/post.controller.js:8
FunctionbookmarkHandler
()
frontend/src/components/Post.jsx:99
FunctionbookmarkPost
(req,res)
backend/controllers/post.controller.js:237
FunctionchangeEventHandler
(e)
frontend/src/components/Post.jsx:24
FunctionchangeEventHandler
(e)
frontend/src/components/Signup.jsx:20
FunctionchangeEventHandler
(e)
frontend/src/components/Login.jsx:21
FunctionchangeEventHandler
(e)
frontend/src/components/CommentDialog.jsx:25
FunctioncommentHandler
()
frontend/src/components/Post.jsx:58
FunctioncreatePostHandler
(e)
frontend/src/components/CreatePost.jsx:32
FunctiondeletePost
(req,res)
backend/controllers/post.controller.js:206
FunctiondeletePostHandler
()
frontend/src/components/Post.jsx:85
FunctiondislikePost
(req, res)
backend/controllers/post.controller.js:123
FunctioneditProfile
(req, res)
backend/controllers/user.controller.js:116
FunctioneditProfileHandler
()
frontend/src/components/EditProfile.jsx:35
FunctionfileChangeHandler
(e)
frontend/src/components/CreatePost.jsx:23
FunctionfileChangeHandler
(e)
frontend/src/components/EditProfile.jsx:25
FunctionfollowOrUnfollow
(req, res)
backend/controllers/user.controller.js:167
FunctiongetAllPost
(req, res)
backend/controllers/post.controller.js:48
FunctiongetCommentsOfPost
(req,res)
backend/controllers/post.controller.js:192
FunctiongetMessage
(req,res)
backend/controllers/message.controller.js:43
FunctiongetProfile
(req, res)
backend/controllers/user.controller.js:103
FunctiongetSuggestedUsers
(req, res)
backend/controllers/user.controller.js:151
FunctiongetUserPost
(req, res)
backend/controllers/post.controller.js:68
FunctionisAuthenticated
(req,res,next)
backend/middlewares/isAuthenticated.js:2
FunctionlikeOrDislikeHandler
()
frontend/src/components/Post.jsx:33
FunctionlikePost
(req, res)
backend/controllers/post.controller.js:90
Functionlogin
(req, res)
backend/controllers/user.controller.js:37
Functionlogout
(_, res)
backend/controllers/user.controller.js:93
Functionregister
(req, res)
backend/controllers/user.controller.js:7
FunctionselectChangeHandler
(value)
frontend/src/components/EditProfile.jsx:30
FunctionsendMessage
(req,res)
backend/controllers/message.controller.js:5
FunctionsendMessageHandler
()
frontend/src/components/CommentDialog.jsx:34
FunctionsignupHandler
(e)
frontend/src/components/Signup.jsx:24
FunctionsignupHandler
(e)
frontend/src/components/Login.jsx:25