yugaldekate / chat-app

0 stars 0 forks source link

Chat #25

Open yugaldekate opened 2 months ago

yugaldekate commented 2 months ago

-Create chat input component -Messages api -Create a modal to add images or files to message -Create emoji bar

yugaldekate commented 2 months ago

-Created chat-input component

yugaldekate commented 2 months ago

-Created API endpoint for api/socket/messages and created a new message and emit a socket

yugaldekate commented 2 months ago

-Created message-file-modal to upload the files/images in chats -Installed emoji-mart @emoji-mart/data @emoji-mart/react -Created emoji-bar

yugaldekate commented 2 months ago

-Created chat-welcome component -Installed @tanstack/react-query -Created query-provider component

yugaldekate commented 2 months ago

-Created chat-message component -Created useChatQuery hook using useInfiniteQuery() to fetch the messages

yugaldekate commented 2 months ago

-Installed date-fns library -Created chat-item component

yugaldekate commented 2 months ago

-Created the form to edit the message -Created api to edit the message

yugaldekate commented 2 months ago

-Created delete-message-modal -Created the api to delete the message

yugaldekate commented 2 months ago

-modified the next-config file -Created useChatSocket hook to listen the socket events -Used the useChatSocket hook in ChatMessages component to update the chats in real time

yugaldekate commented 2 months ago

-Created chat-scroll hook -Created direct-message page and it's api's