This solution, made using the Django framework, features an app allowing users to upload and view a photo
-
Clone the repository/ Download the .zip file
-
Open a terminal window
-
cd tdi_photoUploader
-
If other versions of Django are installed on the machine, create and activte a virtualenv to isolate the package dependencies locally
ย Installation instructions here
source api_env/bin/activate *For mac and linux*
- Install Django/Django REST framework and dependencies into the virtualenv
pip install -r requirements.txt
- Change into project source and runserver
cd src
python manage.py runserver
-
Open your browser and navigate to this url
-
Once on the page, you will see a form where you can browse for an image to upload. Once the image is selected, it will be displayed on the page.