The app requires a TMDB API key to fetch movie details. Follow these steps:
- Go to The Movie Database
- Click "Join TMDB" to create a free account
- Verify your email address
- Log in to your TMDB account
- Go to API Settings
- Click "Create" or "Request an API Key"
- Select "Developer" option
- Accept the terms of use
- Fill in the application form:
- Application Name: NovaStream (or your app name)
- Application URL: http://localhost (or your domain)
- Application Summary: A movie streaming app that displays movie information
- Submit the form
- Once approved (usually instant), copy your API Key (v3 auth)
- Open
src/services/tmdbService.js - Replace the placeholder with your key:
const TMDB_API_KEY = 'YOUR_API_KEY_HERE'; // Paste your key herenpm startAfter adding your key, the Details screen should now display:
- ✅ Movie backdrop and poster images
- ✅ Cast members with photos
- ✅ Budget & Revenue information
- ✅ User reviews
- ✅ Recommendations
- ✅ Working trailer button
- ✅ Production companies
- ✅ Discussion links
- Check that you've replaced 'YOUR_API_KEY_HERE' with your actual key
- Ensure there are no extra spaces in the key
- Verify the key is active in your TMDB account settings
- Make sure your device/emulator has internet connection
- Check the movie title matches TMDB's database
- Look at the terminal/console for specific error messages
- Free TMDB accounts have rate limits (40 requests per 10 seconds)
- This is usually sufficient for normal app usage
- If you hit limits, wait 10 seconds and try again
For Production Apps:
- Never commit API keys to public repositories
- Use environment variables or secure config
- Consider using a backend proxy to hide your key