Architectured by @Junho Yeo, Maintained by @universe & @HeeJun Gwon
Schema - Bridged User
Schema - Bridged User.social (nested)
Endpoints?
Check email duplicates [⇒ Moved to Auth?]
Login(Create token) [⇒ Moved to Auth?]
Join(Create account) [⇒ Moved to Auth?]
Edit(Edit account)
Remove user(Delete account)
- Self token ⇒ Self withdrawal
- Others ⇒ Check requested/queried user type(for management)
Subscribe/Unsubscribe to newsletter
Or we can reuse the Edit endpoint? ⇒ Then it must be PATCH method to reduce body size?
⇒ No, that's too massive. We'll just split it.
Unsubscribe endpoint must be detached anyway. It must be provided as a link when we mail or pass advertisements to somebody.
Social login - Register provider to existing
Same here
Upload profile image ⇒ S3
Note that this need CDN
Organization
Schema - Bridged Organization