A Flutter project that displays a collection of movies fetched from an API.
- Create a personal account for user registration and data saving.
- Browse a collection of movies categorized into Categories.
- Search for movies by name.
- View detailed information about each movie, including:
- Name
- Year
- Description
- Rating
- Watch the Trailer of the movie.
- Add movies to your favorites list and save them to your account.
- Toggle between Dark Mode and Light Mode.
- Save user data, such as:
- Login information
- User preferences
These settings will persist when reopening the app.
- SQLite Database: To store users and favorite movies.
- API: To fetch movie data and details.
- Cubit State Management: To manage interactions between the API, database, and UI.
- Animation UI: For smooth animations on the HomePage.
- SharedPreference: To store user settings and login details.
- Create a new account through the Sign Up page.
- Log in using the Login page.
- Browse movies and search for the ones you like.
You might encounter the error Status Code = 429, indicating that the number of requests for the provided API Key has been exceeded. To resolve this issue:
- Visit this website:
IMDB Top 100 Movies API. - Create a new account and subscribe to the API.
- Copy your API Key.
- Open the project files and navigate to:
movie_app\lib\data\api\movie_api.dart. - Replace the existing API Key in the Headers with your new API Key.
- Now, you can modify the project and fetch movie data successfully.