Skip to content

KhoanDoanVan/WhatsAppClone

Repository files navigation

WhatsAppClone

Channel

-- channelId: Random String
-- admins: [uid, uid, uid]
-- members: [uid, uid, uid, uid]
-- creationDate: TimeInterval
-- membersCount: Int

Channel-Messages
-- channelId
---- messageId
------ message: { text, timestamp, sender }

User-Direct-Messages
-- userId
---- channelId1: true
---- channelId2: true

Direct Channels: unique, 1:1, communication with 2 members
Group Channels: non-unique, 3 to 12 members

- Denormalization: Optimize for Read operations, sacrificing Write
- Storage is cheap in firebase

About

Clone also most features of WhatsApp IOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages