A Web Socket Based File Transfer application, built using Django rest framework application to enable cross-platform transfer of data such as music, videos, executables, documents without being stored on an intermediary server. This ensures data privacy and provides an alternative method of sending large files across the internet without dealing with the complexities of torrents or the limitations of cloud storage. This ensures data privacy and provides an alternative method of sending large files across the internet without dealing with the complexities of torrents or the limitations of cloud storage
This system is designed to be run on a remote server this allows the forwarding of data between users without storage
-
Setup required enironment variables, you can do this by adding it to the the system global environmnet variables or by creating a .env and placing it in the projects root directory ( where the manage.py file is stored ), as of now the only required environment variable is SECRET_KEY Note: it is case sensitive
-
Install depenencies in the requirements.txt using this command
pip install -r requirements.txt
, then use the commandpython manage.py runserver 0.0.0.0:<port>
to run the server. Alternatively you can make use of docker which is recommended, have docker installed on your system then run the following commands:
docker build -t thender .
docker run -dp 8000:8000 thender
- Now port 8000 would be open on your system/server. view the Postman Doc link for instructions on how to use api