This is a simple file sharing system built using Node.js and Express. It allows users to securely upload and share files with others. Please note that this system does not include encryption for the uploaded files.
IMPORTANT: This file sharing system does not provide encryption for the uploaded files. It is meant for simple file sharing purposes and should not be used for sensitive or confidential data. The files uploaded to the system are stored on the server in their original format without encryption. Therefore, it is recommended to exercise caution when uploading and sharing files containing sensitive information.
- User authentication: Users can log in with their credentials to access the file sharing system.
- File upload: Users can select and upload files from their devices.
- File download: Uploaded files can be downloaded using unique download links.
- QR code generation: Quick sharing and scanning of files through QR codes.
- File deletion: Automatically deletes files from the server after a set period of time or when downloaded.
Before running the system, ensure that you have the following installed:
- Node.js
- npm (Node Package Manager)
- Clone this repository to your local machine.
- Navigate to the project directory using the command line.
- Run
npm install
to install the required dependencies. - Fill every details in
config.json
- Run
node index.js
ornpm start
to start the server. - Open your web browser and navigate to
http://localhost:3000
. - Log in with your credentials.
- On the upload page, select the file you want to share and click the "Upload" button.
- Once the upload is successful, you will be provided with a download link and a QR code for sharing.
- Share the download link or QR code with others to allow them to download the file.
- The file will be automatically deleted from the server after a set period of time or when downloaded.
- You can customize the upload limit by modifying the
uploadLimit
variable. - To change the server port, update the port number in
config.json
file.
Feel free to customize and modify this file sharing system according to your needs. Contributions are welcome!