Docker interview question

Write a web-based API application in Python. Implement an endpoint accepting a POST request expecting a list of movie titles. Use the IMDB API to collect basic information about each film title, calling the API for each film in parallel, and all return collected data. The application must run in a docker container.

Interview Answer

Anonymous

9 Dec 2024

API project implemented as wsgi app using pyramid (this was in 2013), executed with uwsgi, initialized via custom Dockerfile. Deployed behind nginx.