MLH-Fellowship / SocioMark

A social media platform that lets you upload images and secures them by embedding a personalised hash.
https://sociomark.netlify.app
MIT License
16 stars 8 forks source link

Create User Story #1

Closed aitikgupta closed 3 years ago

aitikgupta commented 3 years ago

Drop in the user's perspective of the application.

aitikgupta commented 3 years ago
  1. User will register.
  2. A unique hash will be created for that user, stored in a database.
  3. User will upload an image.
  4. Image will be passed to the backend.
  5. First Decoder will decode the image to get a hash from image.
  6. If that hash is matched with any other hash in the database, that user data is sent to the frontend.
  7. If that hash is not matched, the current user's hash will be passed to Encoder.
  8. Encoder will embed that hash in the image, and the current user data is sent to the frontend.
  9. Ideally, every new user will have a new hash and that user's data will be sent to frontend.
  10. With the user data, the Image component will have a footer with the user's data. (No verify button)
  11. In both cases, user data is sent back from the backend, if there is mismatch, show it in frontend.