- Install python and pip
- Install modules from requirements.txt
- Install Postgresql
- Create a database in Postgresql and enter details in DATABASES = {} in settings.py
- Enter same details in line 32 in SearchApp/apps.py
- Run django server using command - "python manage.py runserver"
Send GET request to 127.0.0.1/videos to get video data in a paginated response sorted in descending order of published datetime.
Additionally edit '$' in GET request to 127.0.0.1/videos?limit=$&offset=$ to go through pages.
Send POST request to 127.0.0.1/search data = '?' editing the '?', to get results with full or partial match to the search query.
The API automatically cycles through multiple API keys in case of exhausted quota.
The project was not Dockerized because of errors due to psycopg2 and few other modules.