This a simple project.Uses DRF to upload images
- Download this repo
- pip install requirements in your virtualenv
- Run server by running
python manage.py runserver
To view the routes run the project and go to
http://localhost:8000/helphttp://localhost:8000/file
http://localhost:8000/file/:id
http://localhost:8000/download/:id
Searching for a file can be done by adding the title or id parameter to the GET method url
localhost:8000/file/?title=alice
or
localhost:8000/file/?id=23
python manage.py test