logoGuide

This is guide page

I. Feature

II. Description

1. Hub:

  • storage and manage file webapp
  • using Clerk Auth as authorize server, user manage organization (create, update, delete) and files in this organization
  • if user want delete org, check:
    • if user is admin of org, if not, reject and delete fail.
    • if right find all files of org and delete them, then delete org and send success
  • user can upload, update, favorite, delete file
  • filter, search file
  • logout

2. Single:

  • sharing file app using socket, sender create new room and receiver enter room id and connect, then sender send file to receiver

3. Group:

  • using P2P (peerjs):
  • User A start create connect, then app wiill generate room ID, link, qr code.
  • User B can connect with 3 ways:
    • way 1 is start connect and paste room id, if match they wil connect together
    • way 2 is paste shared link to join connect together
    • way 3 is scan shared qr code, browser open and join connect together
  • Will have connection list, user can select one, who is they will send file
  • Send file feature will have button to select upload and send
  • Receiver see display on screen and choose if they want get and download file

4. Multi:

  • Generate diagram for:
  • sharing file webapp using p2p
  • sender upload file and shared link, qr code will be generated
  • receiver paste link and connect, or scan qr code then will redirect open browser to connect
  • after others receiver connected, sender will see listed receiver connected with id
  • when user accept get file, file auto downloaded to device and sender screen will display sent success
  • when sender close connect, other also lost connect

5. Public:

  • Create file sharing webapp, client upload file to server, server save to database and return file link. Then user access link to download file automatically

6. Protected:

  • Create file sharing webapp, client upload file to server, server save to database and generate OTP of this file and return this OTP. Then user enter OTP, if OTP not match, return fail notify or success annd ser click download button to download file