To leverage the API you will need to follow the following steps:
1) Install docker-ce and docker-compose
2) Clone the repo and run docker-compose up
3) Access the django container and create a new user
Prediction API endpoint: localhost:8080/restapp/predict/
You can use various ways like Postman or a script using Request library of Python to check the condition of API.
Use auth('','') in your script.
You should comment line 27 and 28 from restapp/views.py and uncomment line 29 to use Postman since it is only able to send data in form format