Questions can be runned by:
$ python 1_question.py $ python 2_question.py
Inside the 'activityfeed' you will finde a Django 1.11 project, with django rest framework to serve json, and also sqlite db that have two users and two Posts uploaded. Users 'admin' and 'user1', password for both '1234qwer'.
To run the project follow this steps.
Install requirements by:
$ pip install -r requirements.txt
Run server:
$ python manage.py runserver
Go to the admin:
Login with one of the users already there, or create a new from console to login:
$ python manage.py createsuperuser
Test the endpoints: