[TIL] Clone Coding Project Retrospective
05/19/23
![[TIL] Clone Coding Project Retrospective](/_next/image?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1688363641415%2F848250a2-725b-45c3-a0c9-40add6ba8f01.png&w=3840&q=75)
In this project, I was responsible for setting up the Socket API and Socket backend. However, due to the frontend developer who was in charge of the chat frontend stepping down in the middle, it was pushed down in priority, which was disappointing.
To focus on socket chat again after resolving the subdomain cookie issue, I conducted a simple socket test using HTML.
On the last day of the clone coding project, the frontend developer finished checking the remaining APIs and suggested implementing the chat functionality together. As a result, we successfully completed the chat feature in the localhost environment!
However, when trying to apply it to the deployment environment, although the socket connection worked fine, all API calls failed. So I tried moving the socket-related code to a different repository and separating it into another server for deployment, but there were issues in this process, so I couldn't actually apply it to the implementation.
Additionally, we switched from storing chat rooms and messages in MySQL to MongoDB. This decision was made because the query execution speed for fetching chat lists and messages from MySQL was too slow. The actual query that took around 2.xx seconds improved to around 600 ms.
Communication among the backend team members was very smooth, and even though the frontend developer worked alone, their skills were outstanding, and they completed all of our APIs. We were grateful for this project!
![[코테] 그리디 문제 - 무지의 먹방 라이브](/_next/image?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1712215455263%2F1ac1f35a-8862-4e42-8d0c-e2bea01e04c0.png&w=3840&q=75)
![[코테] Bfs 토마토](/_next/image?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1709032619170%2F70056896-c857-444b-9c99-45bfcb466806.png&w=3840&q=75)
![[코테] Dfs 문제 유형 - 그래프 내에서 구분하여 카운트 하기](/_next/image?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1709019361383%2Fb0585d72-c808-4169-83a9-2724f312e927.png&w=3840&q=75)
![[코테] DFS vs BFS](/_next/image?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1708971211123%2F71f9386c-6a62-43b2-a602-4d084c24d6cf.png&w=3840&q=75)
![[코테] 여행경로](/_next/image?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1708971251412%2F27ce72ed-8ee7-4d13-a02f-ff4bbe50c4be.png&w=3840&q=75)