chat's Issues
파일 업로드 기능
일반 메시지로에 그대로 보내려면 스트링으로 변환해야하므로 효율적이지 않으므로(base64인코딩)
파일 보낼 때는 http post로 보낸 후 이 이미지 고유의 아이디를 받고
웹소켓 메시지에는 이 아이디가 감(type 다르게 지정)
이미지 받을 때도 http리퀘스트로
채팅방 최근 50개 메시지 불러오는 엔드포인트 작성
ㅇㅇ
MainChannel 엔티티 삭제 후 리팩토링
메인채널에 관한 상태를 저장해야할 필요가 없어서 엔티티가 있는건 overkill인것 같음
Member 엔티티에 이 채널의 destination 스트링만 남김
채팅 보낼 때 채팅룸 키도 보내도록 바꾸기
- 채팅 보낼 때 채팅 룸 키도 보내도록 바꾸기
- 채팅방 정보 유저에게 줄 때도 채팅 룸 키도 보내도록 바꾸기
룸 생성 기능 axios 통신
POST: 초대할 이메일 데이터까지 추가
유저-채팅방 join table로 리팩토링 & 채팅방 나가기 기능
유저가 채팅방 지우려면 채팅방을 모두 가져와야하므로 @manytomany대신 join table로 바꾸는게 나을 듯
브랜치 하나 더 파기!!!
- ManyToMany -> join table로 리팩토링
- 채팅방 나가기 기능
친구 추가 기능 & 채팅방 만들시 친구만 초대할 수 있게
우선순위대로
- Friendship 엔티티 추가. (멤버-멤버 관계위해)
- 친구 추가 기능
- 채팅방 만들시 친구 목록만 뜨게 바꾸기 (low priority for now)
- 차단 기능(unfriend)
채팅 내역 데이터베이스에 저장하기
채팅 내역 데이터베이스에 저장
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.