Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adrianhajdin/project_next_14_ai_prompt_sharing
/ functions
Functions
37 in github.com/adrianhajdin/project_next_14_ai_prompt_sharing
⨍
Functions
37
◇
Types & classes
0
↓ 7 callers
Function
connectToDB
()
utils/database.js:5
↓ 2 callers
Function
filterPrompts
(searchtext)
components/Feed.jsx:40
↓ 2 callers
Function
signIn
({ account, profile, user, credentials })
app/api/auth/[...nextauth]/route.js:22
↓ 1 callers
Function
fetchPosts
()
components/Feed.jsx:29
↓ 1 callers
Function
fetchPosts
()
app/profile/page.jsx:16
↓ 1 callers
Function
fetchPosts
()
app/profile/[id]/page.jsx:15
↓ 1 callers
Function
getPromptDetails
()
app/update-prompt/page.jsx:17
↓ 1 callers
Function
handleDelete
(post)
app/profile/page.jsx:30
↓ 1 callers
Function
handleEdit
(post)
app/profile/page.jsx:26
↓ 1 callers
Function
handleTagClick
(tagName)
components/Feed.jsx:63
Function
CreatePrompt
()
app/create-prompt/page.jsx:9
Function
DELETE
(request, { params })
app/api/prompt/[id]/route.js:43
Function
Feed
()
components/Feed.jsx:21
Function
Form
({ type, post, setPost, submitting, handleSubmit })
components/Form.jsx:3
Function
GET
(request, { params })
app/api/users/[id]/posts/route.js:4
Function
GET
(request)
app/api/prompt/route.js:4
Function
GET
(request, { params })
app/api/prompt/[id]/route.js:4
Function
Home
()
app/page.jsx:3
Function
Loading
()
app/profile/loading.jsx:3
Function
MyProfile
()
app/profile/page.jsx:9
Function
Nav
()
components/Nav.jsx:8
Function
PATCH
(request, { params })
app/api/prompt/[id]/route.js:18
Function
POST
(request)
app/api/prompt/new/route.js:4
Function
Profile
({ name, desc, data, handleEdit, handleDelete })
components/Profile.jsx:3
Function
PromptCard
({ post, handleEdit, handleDelete, handleTagClick })
components/PromptCard.jsx:8
Function
PromptCardList
({ data, handleTagClick })
components/Feed.jsx:7
Function
Provider
({ children, session })
components/Provider.jsx:5
Function
RootLayout
({ children })
app/layout.jsx:11
Function
UpdatePrompt
()
app/update-prompt/page.jsx:8
Function
UserProfile
({ params })
app/profile/[id]/page.jsx:8
Function
createPrompt
(e)
app/create-prompt/page.jsx:16
Function
handleCopy
()
components/PromptCard.jsx:23
Function
handleProfileClick
()
components/PromptCard.jsx:15
Function
handleSearchChange
(e)
components/Feed.jsx:50
Function
session
({ session })
app/api/auth/[...nextauth]/route.js:15
Function
updatePrompt
(e)
app/update-prompt/page.jsx:30
Function
webpack
(config)
next.config.js:10