Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ankit404butfound/ez-file-sharing-backend
https://github.com/ankit404butfound/ez-file-sharing-backend
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ankit404butfound/ez-file-sharing-backend
- Owner: Ankit404butfound
- Created: 2024-02-20T06:04:39.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-02-20T07:10:17.000Z (9 months ago)
- Last Synced: 2024-02-21T07:25:43.466Z (9 months ago)
- Language: Python
- Size: 4.44 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# This is the backend for the file sharing app
The backend uses session based authentication to authenticate users.
Import the postman collection to test the endpoints
- # Login
- ## Client user
- Username: client
- Password: client
- ## Operational user
- Username: ops
- Password: ops- # Signup
- Only client users can sign up, use the client user credentials to sign up a new user- # File upload
- Only client Operations users can upload files
- The file will be uploaded to the uploads folder
- The file will be renamed to a unique hash
- Operations users can't list the files in the uploads folder- # File download
- Only client users can list and download files
- The file will be downloaded from the uploads folder
- Client users can't upload files
- To download a file, copy the file hash and paste it in the download input of postman- # Logout
- All users can logout