MCPcopy Create free account

hub / github.com/Jenifer2833/fullstack-chat-app / functions

Functions35 in github.com/Jenifer2833/fullstack-chat-app

↓ 2 callersFunctiongenerateToken
(userId, res)
backend/src/lib/utils.js:3
↓ 1 callersFunctioncheckAuth
(req,res)
backend/src/controllers/auth.controller.js:108
↓ 1 callersFunctionconnectDB
()
backend/src/lib/db.js:3
↓ 1 callersFunctionformatMessageTime
(date)
frontend/src/lib/utils.js:1
↓ 1 callersFunctiongetMessages
(req,res)
backend/src/controllers/message.controller.js:18
↓ 1 callersFunctiongetReceiverSocketId
(userId)
backend/src/lib/socket.js:15
↓ 1 callersFunctionlogin
(req,res)
backend/src/controllers/auth.controller.js:49
↓ 1 callersFunctionsendMessage
(req,res)
backend/src/controllers/message.controller.js:37
↓ 1 callersFunctionsignup
(req,res)
backend/src/controllers/auth.controller.js:6
↓ 1 callersFunctionupdateProfile
(req,res)
backend/src/controllers/auth.controller.js:89
↓ 1 callersFunctionvalidateForm
()
frontend/src/pages/SignUpPage.jsx:18
FunctionApp
()
frontend/src/App.jsx:14
FunctionAuthImagePattern
({ title, subtitle })
frontend/src/components/AuthImagePattern.jsx:1
FunctionChatContainer
()
frontend/src/components/ChatContainer.jsx:9
FunctionChatHeader
()
frontend/src/components/ChatHeader.jsx:5
FunctionHomePage
()
frontend/src/pages/HomePage.jsx:6
FunctionLoginPage
()
frontend/src/pages/LoginPage.jsx:7
FunctionMessageInput
()
frontend/src/components/MessageInput.jsx:5
FunctionMessageSkeleton
()
frontend/src/components/skeletons/MessageSkeleton.jsx:1
FunctionNavbar
()
frontend/src/components/Navbar.jsx:5
FunctionNoChatSelected
()
frontend/src/components/NoChatSelected.jsx:3
FunctionProfilePage
()
frontend/src/pages/ProfilePage.jsx:6
FunctionSettingsPage
()
frontend/src/pages/SettingsPage.jsx:13
FunctionSidebar
()
frontend/src/components/Sidebar.jsx:7
FunctionSidebarSkeleton
()
frontend/src/components/skeletons/SidebarSkeleton.jsx:3
FunctionSignUpPage
()
frontend/src/pages/SignUpPage.jsx:8
FunctiongetUsersForSidebar
(req,res)
backend/src/controllers/message.controller.js:6
FunctionhandleImageChange
(e)
frontend/src/components/MessageInput.jsx:12
FunctionhandleImageUpload
(e)
frontend/src/pages/ProfilePage.jsx:9
FunctionhandleSendMessage
(e)
frontend/src/components/MessageInput.jsx:32
FunctionhandleSubmit
(e)
frontend/src/pages/LoginPage.jsx:14
FunctionhandleSubmit
(e)
frontend/src/pages/SignUpPage.jsx:27
Functionlogout
(req,res)
backend/src/controllers/auth.controller.js:79
FunctionprotectRoute
(req,res,next)
backend/src/middleware/auth.middleware.js:4
FunctionremoveImage
()
frontend/src/components/MessageInput.jsx:27