matchhere-backend's People
matchhere-backend's Issues
[feat] 스터디 가입 신청/승인 알람 전송 api 개발
요구사항
- 알림 전송
- 신청자가 스터디 가입 신청시, 스터디 호스트에게 가입 신청 알림 전송
- 호스트가 가입 신청 승인/거절시, 신청자에게 신청 결과 알림 전송
- 알림 확인
- 수신한 알림 목록 출력
- 읽은 알림 / 읽지 않은 알림 구분
- 알림 선택시 읽음 처리
Features
- RDB에 알림 테이블 추가
- SCHEME
CREATE TABLE member_alarm ( id BIGINT NOT NULL AUTO_INCREMENT, member_id BIGINT NOT NULL, alarm_topic VARCHAR(50) NOT NULL, alarm_content VARCHAR(200), is_read TINYINT NOT NULL DEFAULT 0, regist_ymdt DATETIME NOT NULL, PRIMARY KEY (member_id, id) );
- 스터디 가입 신청 / 신청 승인 api 로직에 알림 로직 추가
- 알림 목록 조회 api 개발
- api interface : /alarm
- member_alarm 테이블 조회
- 표시할 알람 개수 논의 필요
- 알림 읽음 처리 api 개발
- alarm_no, member_id 로 member_alarm 테이블 PK search 하여 is_read = 1 로 update
- 오래된 알림 삭제
- regist_ymdt, is_read 값을 기준으로 생성된지 n일 지나고, 읽음 처리된 알람은 자동 삭제
- member_alarm 테이블 regist_ymdt, is_read 인덱스 추가
See also
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.