App Using TheMovieDB API with Dio. This project was developed to study the Dio package, which is a powerful Http client for Dart, which allows you to make requests to a server, and also to study the use of the TheMovieDB API, which is a free API that provides a lot of information about movies, series, and actors.
using_dio_example.mp4
- View top rated movies;
- View popular movies;
-
Don't forget to create an account on the TheMovieDB website, and get your API key, see https://www.themoviedb.org/documentation/api for more information.
-
In this repository, you will find a file called "env_example" in the root of the project, rename this file to ".env" and replace the value of the "apiKey" variable with your API key.
-
After that, follow the steps below:****
First of all, correctly configure the Flutter Web development environment on your machine,**** see https://flutter.dev/web - Clone this repository: $ git clone https://github.com/felipecastrosales/using_dio using_dio - Enter in directory: $ cd using_dio - For install dependencies: $ flutter pub get - Run the app: $ flutter run
- Fork the project
- Create a new branch with your changes:
$ git checkout -b my-feature
- Save your changes and create a commit message telling you what you did:
$ git commit -m "feature: My new feature"
- Submit your changes:
$ git push origin my-feature