Skip to content

fab-c14/File_Sharing_FrontEnd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FileSharing Platform

Welcome to our FileSharing platform! This platform allows users to securely upload, share, and download files with expiration dates and optional passwords.

Features

  • Secure Uploads: Users can upload files securely to the platform.
  • Expiry Dates: Users can set expiration dates for the files they upload.
  • Password Protection: Optional password protection for files to ensure privacy.
  • Preview and Download: Users can preview files in the browser and download them if necessary.
  • File Expiry: Files automatically expire after the set expiration date.
  • File Type Support: Supports a variety of file types including PDFs, documents, images, and videos.

Technologies Used

  • Backend: Node.js with Express.js for server-side logic.
  • Database: MongoDB for storing file metadata.
  • File Uploads: Multer for handling file uploads.
  • Authentication: JSON Web Tokens (JWT) for access control.
  • Encryption: Bcrypt for password hashing.
  • Frontend: React.js for the user interface.

Getting Started

To get started with the FileSharing platform, follow these steps:

  1. Clone this repository to your local machine.
  2. Install dependencies by running npm install in both the backend and frontend directories.
  3. Start the backend server by running npm start in the backend directory.
  4. Start the frontend development server by running npm start in the frontend directory.
  5. Access the FileSharing platform in your browser at http://localhost:3000.

Usage

  1. Upload a File: Click on the "Upload" button and select a file from your computer. Optionally, set a password and expiration date for the file.
  2. Share the Access Link: After uploading, you'll receive an access link. Share this link with others to grant access to the file.
  3. Access the File: To access a file, users can visit the access link. If password protection is enabled, they'll need to enter the password.
  4. Preview and Download: Files can be previewed in the browser or downloaded to the user's device.

Contributing

We welcome contributions from the community! If you'd like to contribute to the FileSharing platform, please follow these steps:

  1. Fork this repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and ensure tests pass.
  4. Submit a pull request describing your changes.

License

This project is licensed under the MIT License.