- Minimal sketch (UX + design) - copy to clipboard, etc.
- Files (photos) transfer
- Make 100% serverless (ditch PeerJS) or host own PeerJS server
- Géolocalisation(?)
- Encryption (?)
- User A opens app index, sees
src/components/MessageSend.js - Writes message
- Hits "send" button
- PeerJS
idis generated and rendered as a link (to be sent using WhatsApp)
- User B opens link -> sees
src/components/MessageReceive.js - User B connects to User A using the
idcontained in link -connection = peer.connect(id) - When connection occurs -
connection.on("open")the sender is notified -connection.send()
- Sender (user A) sees "receiver has opened your message"
- Receiver (user B) sees "sender knows you've opened her/his message"