Open yugaldekate opened 2 months ago
-Created chat-input component
-Created API endpoint for api/socket/messages and created a new message and emit a socket
-Created message-file-modal to upload the files/images in chats -Installed emoji-mart @emoji-mart/data @emoji-mart/react -Created emoji-bar
-Created chat-welcome component -Installed @tanstack/react-query -Created query-provider component
-Created chat-message component -Created useChatQuery hook using useInfiniteQuery() to fetch the messages
-Installed date-fns library -Created chat-item component
-Created the form to edit the message -Created api to edit the message
-Created delete-message-modal -Created the api to delete the message
-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
-Created chat-scroll hook -Created direct-message page and it's api's
-Create chat input component -Messages api -Create a modal to add images or files to message -Create emoji bar