first commit

This commit is contained in:
Tomas Dvorak
2025-01-04 11:45:15 +01:00
commit 882f91ebf6
335 changed files with 34705 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
'use strict';
const api_key = '054582e9ee66adcbe911e0008aa482a8';
const imageBaseURL = 'https://image.tmdb.org/t/p/';
const fetchDataFromServer = function (url, callback, optionalParam) {
fetch(url)
.then(response => response.json())
.then(data => callback(data, optionalParam));
}
export { imageBaseURL, api_key, fetchDataFromServer };