“TMDB movie app”
Before we start, you can take a look at the app:
- List Trending Movies
- Check Movie Details
- API Integration
- Open Movie Trailer on YouTube
- Search Movies
- GetX State Management
- Show Details of Search Movie Result
- Refine Code
- Use local DB to store Favourite movie
To clone and run this application, you'll need Git and Flutter installed on your computer. From your command line:
# Clone this repository
$ git clone https://github.com/gadgetvala/TMDB-movie-app.git
# Go into the repository
$ cd TMDB-movie-app
# Install dependencies
$ flutter pub get
# Run the app
$ flutter run
# You can also run this app on Web (Not Optimized and Flutter Beta or Above Channel Required)
$ flutter run -d chrome
Below are the information about packages used in this project.
Package |
---|
carousel_slider |
flutter_svg |
get |
getwidget |
http |
intl |
url_launcher |
https://www.themoviedb.org/documentation/api
The project directory structure is as follows:
├── android
├── asset
├── build
├── ios
├── lib
├── controller
├── model
├── services
├── view
├── constants.dart
├── main.dart
├── pubspec.lock
├── pubspec.yaml
What's in controller -> GetX controller
What's in model -> Data Model for JSON data for easy access.
What's in services -> http Network call to TMDB Database using TMDB API
What's in view -> Contains the UI Widget for respected Page View.
Feel free to file a new issue with a respective title and description on the TMDB Movie App repository. If you already found a solution to your problem, I would love to review your pull request!
The TMDB app is released under the under terms of the MIT License.
Made by Tekeshwar Singh