Skip to content

This Repository Contains the File Sharing Code that is written in Django.

License

Notifications You must be signed in to change notification settings

santoshvandari/FileSharing

Repository files navigation

File Sharing WebApp

A simple Django-based file-sharing platform where users can upload files and receive a unique link or File ID to access the files. The files and links will automatically expire and be deleted after 24 hours.

Home Page

Home Page

Admin Page

Admin Page

Features

  • File upload with a unique link generated for each file
  • Auto-delete files and links after 24 hours
  • Copy file URL and File ID to clipboard
  • Handle expired files by removing them from the server

Usages

You System must have the following things to use this File Sharing App.

  • Installation of python and pip

    Python is available for every platform. Download it according to you os. You can download it from Here.

Follow the mentioned procedure to run this project in your local system.

  • Clone or Download the Repository
    git clone https://github.com/santoshvandari/filesharing.git 
    cd FileSharing
  • Create the Virtual Environment Before installing the requirements.
   python3 -m virtualenv venv #For Linux User
  • Activate the Virtual Environment
  source venv/bin/activate  #For Linux
   Note: It is not Necessary to Create Virtual Environment but recommanded.
  • Install the Requirements
    pip install -r requirements.txt
  • Make the Migrations and Migrate the Model
   # For making the Migrations
   python3 manage.py makemigrations
   # For Migrating the Model 
   python3 manage.py migrate
  • Create Super User
    python3 manage.py createsuperuser
    #Fill the Required Information
  • Run the Server
    python3 manage.py runserver #FOr Linux User
  • Open the url in Browser
   http://127.0.0.1:8000/  #For Home
   http://127.0.0.1:8000/login # For Login

Contributing

We welcome contributions! If you'd like to contribute to this File Sharing app, please check out our Contribution Guidelines.

Code of Conduct

Please review our Code of Conduct before participating in this app.

License

This project is licensed under the License.

About

This Repository Contains the File Sharing Code that is written in Django.

Topics

Resources

License

Stars

Watchers

Forks