9:41
▌▍▎ 📶 🔋
Trending
Movies
TV Shows
Anime
Hooking this up to Firestore
Fill in your real config in firebaseConfig near the top of the script (apiKey, appId, etc. — projectId is already set to streamworld-b1fc9).
Create ONE collection called content. Each document = one title, with fields:
title, posterUrl, section, category, audioTag, year, genre, duration, rating, votes, likes, synopsis
section is one of trending / movies / tvshows / anime.
category (only for movies/tvshows) is one of hollywood_multi, bollywood, south_multi or webseries_multi, tvshows_multi, bollywood_series_multi. Anime needs no category.
Until you fill in the config, the screen shows gradient placeholder posters so you can still see the layout.