Backend Assignment
- Python (Programming Language)
- Django (Web Framework)
- PostgreSQL (Database)
Returns all the videos order by latest published date. When you get an error All APIKey's Quota is over/Empty, Add a new APIKey use Add Key API (2nd point) for adding a new Youtube Data API Key in the database.
Status | Time | Size |
---|---|---|
200 OK | 76 ms | 19.79 KB |
When you get an error All APIKey's Quota is over, Add a new APIKey, then use this api, for adding a new Youtube Data API Key in the database, so the service will start again, fetch and store videos in the database.
Status | Time | Size |
---|---|---|
201 OK | 27 ms | 378 B |
-
Clone the Repository
-
Run the following command
$ docker-compose up --build
-
Now create superuser for accessing the dashboard to view the stored videos
$ docker exec -it fampay bash $ python3 manage.py createsuperuser
-
To access the dashboard checkout http://127.0.0.1/admin
Now run the following apis described in the Postman collection for testing the project.