install python3.4 to your system from https://www.python.org/downloads/
$ python3.4 -m venv totient_env $ pip install -r requirement.txt
$ . totient_env/bin/activate
$ source totient_env/bin/activate
export PYTHONPATH=path-to-project-root:$PYTHONPATH
python manage.py runserver
/api-token-auth/ : for getting the jwt token
Get/POST : /route/routes/ (Lists and create routes for a logged-in-user with name, default set date as todays date) POST: /route/locations/ (Add one or more locations : (lat, long), along with route-id of the logged-in user)
Admin-only:
GET : route/admin/routes/ (Lists all routes , with filtering on user, date_from, date_till)