depromeet / 11th_4team_be_api Goto Github PK
View Code? Open in Web Editor NEW11기 4조 ⚽️티키타카⚽️ 백엔드 레포지토리 ( 축구 앱 아님!)
11기 4조 ⚽️티키타카⚽️ 백엔드 레포지토리 ( 축구 앱 아님!)
모듈 구현
확인후 업데이트 요함
기능
고민
쪽찌를 흩뿌리고 버킷으로 모을지...
버킷으로 모으면 쪽찌 상단은 최신거만
채팅방 처럼 룸만둘고 모을지..
쪽지 참여자 list 형으로 저장
쪽지 리스트
PATCH /user 유저 프로필 정보를 업데이트함... ( 전화번호 , 닉네임 , 등등)
GET / user/{id} 상대방 유저정보를 가져온다. ( 차단 된경우 유저를 불러올수 없음)!
POST /user/{id}/block -> 상대 유저를 차단한다. (addToset)
Delete /user/{id}/block -> 상대 유저 차단을 해지한다. (pull)
POST /user/{id}/report -> 상대 유저를 신고한다 TTL base 유저 신고
10회이상(7일간) 누적시에 정지를 먹임. --> 정지 처리는 user 의 state 상태를 변경. + 정지 용 db ( ttl 걸어놓은 거 )
--> 인증시에 정지 디비에 상대방이 있는지 확인하고 로그인 검증...! 로직이 필요로함 -> 회의때 언급.
컨텐츠 신고나 댓글신고모두 유저를 신고하는 방향으로.
GET /user/valid/nickname. -> 들어가있는 방이있거나 , 닉네임이 유효한가 change true false 로 , 닉네임 유효도.
PATCH /user/alarm. -> 알람 토글 최신 상태를 리턴
차단관련기능을 넣을시에
api read만
관리자 유저가 없어서 디비에 직접 삽입하는걸로...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.