- Uses Expo
- Uses expo-router
- - Display Movies & Tv Shows
- - Display details of Movie / TV show on a separate route
- - Play trailer in app
-
Install dependencies
npm install
-
Create local env inside project directory (root) and paste
touch .env.local
-
Paste the following details and add your TMDB_ACCESS_TOKEN
EXPO_PUBLIC_TMDB_API_URL=https://api.themoviedb.org/3/ EXPO_PUBLIC_TMDB_IMG_PATH=https://image.tmdb.org/t/p/w500 EXPO_PUBLIC_TMDB_ACCESS_TOKEN=
-
Start the app
npx expo start
-
If not in Expo Go, switch to Expo Go by pressing (s) while in the terminal. It should run an iOS Simulator and open the application.