APOD App is a mobile application for Android developed using Flutter. This application presents a list of Pictures Of the Day from Nasa and its details of each picture. It works online and offiline the list of pictures is saved in cache after the first load. If you are not connected to the internet on first loading, the app will show a server error message.
To execute this project it is necessary to have the following dependencies installed and configured on your machine:
Required
- Flutter
- Android SDK
- You will need an API key, you can get one here. Now with your API_KEY on hands paste it into the env.json environment variable.
Versions
- Clone this repo with git.
- Install dependencies by running
flutter packages getorflutter pub getwithin the directory that you cloned (probablyapp). - Open any android device emulator of your choice.
- Execute your app with
flutter run --dart-define-from-file=env.jsonor F5 (debug mode).
- To run the tests use this command:
flutter test
This architecture is based in Clean Architecture and SOLID principles, and the UI layer is based in MVP principles. Below is an image of the architecture.
This section shows images of application.


