Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 927 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 927 Bytes

POA tech beer secret message App

TODO

  1. Minimal sketch (UX + design) - copy to clipboard, etc.
  2. Files (photos) transfer
  3. Make 100% serverless (ditch PeerJS) or host own PeerJS server
  4. Géolocalisation(?)
  5. Encryption (?)

Step by Step : how it works

Part 1 : sender

  1. User A opens app index, sees src/components/MessageSend.js
  2. Writes message
  3. Hits "send" button
  4. PeerJS id is generated and rendered as a link (to be sent using WhatsApp)

Part 2 : receiver

  1. User B opens link -> sees src/components/MessageReceive.js
  2. User B connects to User A using the id contained in link - connection = peer.connect(id)
  3. When connection occurs - connection.on("open") the sender is notified - connection.send()

Part 3 : after message is received

  1. Sender (user A) sees "receiver has opened your message"
  2. Receiver (user B) sees "sender knows you've opened her/his message"