In this first issue you need to implement the API for usage in the first page(home page).
Here firstly we need to check from firebase(or later maybe through local device, whether the person has added some user preferences or it is the first time logging in)
In case of first time the following things need to noticed that isAdult has to be kept false , we won't be having any of the userprefences, or genres chosen by the user, so we will use the following basic keywords as default genres [horror, comedy, sci-fi, rom-com, drama] (or any other you would like to add).
Make sure to call the API when the homepage opens.
As per as the already made page design keep those sections in mind and make the seperate api calls.
When the user has logged in previously and set some user preferences, then in that case instead of choosing random genres, we will be calling the API using the given keywords, and set the sections as the user choices.
TmDB API integration (i)
Keypoints
isAdult
has to be keptfalse
, we won't be having any of the userprefences, or genres chosen by the user, so we will use the following basic keywords as default genres[horror, comedy, sci-fi, rom-com, drama]
(or any other you would like to add).