MCPcopy Create free account

hub / github.com/DevMadhup/Wanderlust-Mega-Project / functions

Functions66 in github.com/DevMadhup/Wanderlust-Mega-Project

↓ 28 callersFunctioncreatePostObject
(options = {})
backend/tests/utils/helper-objects.js:8
↓ 23 callersFunctioncreateRequestObject
(options = {})
backend/tests/utils/helper-objects.js:20
↓ 5 callersFunctioncreatePostHandler
(req, res)
backend/controllers/posts-controller.js:8
↓ 4 callersFunctionformatPostTime
(time: string)
frontend/src/utils/format-post-time.tsx:1
↓ 4 callersFunctiongetRedisClient
()
backend/services/redis.js:22
↓ 3 callersFunctioncacheHandler
(key)
backend/utils/middleware.js:4
↓ 3 callersFunctioncreateSlug
(title: string)
frontend/src/utils/slug-generator.ts:1
↓ 3 callersFunctiondeleteDataFromCache
(key)
backend/utils/cache-posts.js:27
↓ 3 callersFunctiondeletePostByIdHandler
(req, res)
backend/controllers/posts-controller.js:142
↓ 3 callersFunctiongetPostByCategoryHandler
(req, res)
backend/controllers/posts-controller.js:83
↓ 3 callersFunctiongetPostByIdHandler
(req, res)
backend/controllers/posts-controller.js:110
↓ 3 callersFunctionisRedisEnabled
()
backend/utils/cache-posts.js:5
↓ 3 callersFunctionstoreDataInCache
(key, data)
backend/utils/cache-posts.js:20
↓ 3 callersFunctionupdatePostHandler
(req, res)
backend/controllers/posts-controller.js:125
↓ 2 callersFunctiongetAllPostsHandler
(req, res)
backend/controllers/posts-controller.js:63
↓ 2 callersFunctiongetFeaturedPostsHandler
(req, res)
backend/controllers/posts-controller.js:73
↓ 2 callersFunctiongetLatestPostsHandler
(req, res)
backend/controllers/posts-controller.js:100
↓ 2 callersFunctionhandleSubmit
(e: FormEvent<HTMLFormElement>)
frontend/src/pages/add-blog.tsx:96
↓ 2 callersFunctionisValidCategory
(category: string)
frontend/src/pages/add-blog.tsx:38
↓ 1 callersFunctioncn
(...inputs: ClassValue[])
frontend/src/lib/utils.ts:4
↓ 1 callersFunctionconnectDB
()
backend/config/db.js:3
↓ 1 callersFunctionconnectToRedis
()
backend/services/redis.js:6
↓ 1 callersFunctiongetCategoryColors
(category: string)
frontend/src/utils/category-colors.ts:14
↓ 1 callersFunctiongetPostById
()
frontend/src/pages/details-page.tsx:17
↓ 1 callersFunctiongetSelectedColor
(selected: boolean)
frontend/src/components/category-pill.tsx:16
↓ 1 callersFunctionhandleCategoryClick
(category: string)
frontend/src/pages/add-blog.tsx:47
↓ 1 callersFunctionhandleImageSelect
(imageUrl: string)
frontend/src/pages/add-blog.tsx:23
↓ 1 callersFunctionretrieveDataFromCache
(key)
backend/utils/cache-posts.js:9
↓ 1 callersFunctionvalidateFormData
()
frontend/src/pages/add-blog.tsx:73
FunctionAddBlog
()
frontend/src/pages/add-blog.tsx:20
FunctionApp
()
frontend/src/App.tsx:10
FunctionAsterisk
()
frontend/src/pages/add-blog.tsx:120
FunctionBlogFeed
()
frontend/src/components/blog-feed.tsx:10
FunctionCategoryPill
({ category, disabled, selected = false }: CategoryPillProps)
frontend/src/components/category-pill.tsx:10
FunctionDetailsPage
()
frontend/src/pages/details-page.tsx:8
FunctionFeaturedPostCard
({ post, testId = 'featuredPostCard', }: { post: Post } & TestProps)
frontend/src/components/featured-post-card.tsx:8
FunctionFeaturedPostCardSkeleton
()
frontend/src/components/skeletons/featured-post-card-skeleton.tsx:3
FunctionHomePage
()
frontend/src/pages/home-page.tsx:8
FunctionLatestPostCard
({ post, testId = 'latestpostcards', }: { post: Post } & TestProps)
frontend/src/components/latest-post-card.tsx:9
FunctionLatestPostCardSkeleton
()
frontend/src/components/skeletons/latest-post-card-skeleton.tsx:3
FunctionModalComponent
({ selectedImage, handleImageSelect, handleSelector, setModal, modal, })
frontend/src/components/modal.tsx:11
FunctionPostCard
({ post, testId = 'postcard' }: { post: Post } & TestProps)
frontend/src/components/post-card.tsx:8
FunctionPostCardSkeleton
()
frontend/src/components/skeletons/post-card-skeleton.tsx:3
FunctionScrollToTop
()
frontend/src/components/scroll-to-top.tsx:4
FunctionSkeleton
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
frontend/src/components/ui/skeleton.tsx:3
FunctionThemeToggle
()
frontend/src/components/theme-toggle-button.tsx:4
Functionfooter
()
frontend/src/layouts/footer-layout.tsx:1
FunctionhandleCheckboxChange
()
frontend/src/pages/add-blog.tsx:70
FunctionhandleInputChange
(e: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>)
frontend/src/pages/add-blog.tsx:42
Functionhandleselector
()
frontend/src/pages/add-blog.tsx:63
Functionheader
()
frontend/src/layouts/header-layout.tsx:5
Functionhero
()
frontend/src/components/hero.tsx:1
FunctiononSubmit
(data: FieldValues)
frontend/src/pages/signup-page.tsx:21
FunctiononSubmit
(data: FieldValues)
frontend/src/pages/signin-page.tsx:21
FunctionopenGithubAuthWindow
(req, res, next)
backend/controllers/auth-controller.js:241
FunctionopenGoogleAuthWindow
(req, res, next)
backend/controllers/auth-controller.js:103
FunctionsignInWithEmail
(req, res, next)
backend/controllers/auth-controller.js:51
FunctionsignInWithGithub
(req, res, next)
backend/controllers/auth-controller.js:320
FunctionsignInWithGoogle
(req, res, next)
backend/controllers/auth-controller.js:180
FunctionsignOutUser
(req, res, next)
backend/controllers/auth-controller.js:378
FunctionsignUpWithEmail
(req, res, next)
backend/controllers/auth-controller.js:12
FunctionsignUpWithGithub
(req, res, next)
backend/controllers/auth-controller.js:255
FunctionsignUpWithGoogle
(req, res, next)
backend/controllers/auth-controller.js:117
Functionsignin
()
frontend/src/pages/signup-page.tsx:11
Functionsignin
()
frontend/src/pages/signin-page.tsx:11
FunctiontoggleTheme
()
frontend/src/components/theme-toggle-button.tsx:6