Hushhh - POA Tech Beer Secret Message app
0
stars
0
forks
source link
POA tech beer secret message App
TODO
- Minimal sketch (UX + design) - copy to clipboard, etc.
- Files (photos) transfer
- Make 100% serverless (ditch PeerJS) or host own PeerJS server
- Géolocalisation(?)
- Encryption (?)
Step by Step : how it works
Part 1 : sender
- User A opens app index, sees
src/components/MessageSend.js
- Writes message
- Hits "send" button
- PeerJS
id
is generated and rendered as a link (to be sent using WhatsApp)
Part 2 : receiver
- User B opens link -> sees
src/components/MessageReceive.js
- User B connects to User A using the
id
contained in link - connection = peer.connect(id)
- When connection occurs -
connection.on("open")
the sender is notified - connection.send()
Part 3 : after message is received
- Sender (user A) sees "receiver has opened your message"
- Receiver (user B) sees "sender knows you've opened her/his message"