Awesome
SpaceX History :ringed_planet: :rocket:
Application developed in .NET MAUI version .NET 7 (iOS and Android) consuming REST API.
<img src="https://www.snppts.dev/img/snppts-badge.jpg" width="200px">
<img src="https://user-images.githubusercontent.com/52722526/202879329-a30d1bab-fa09-41aa-9371-a4907f4519fb.png" width="650px">Getting Started in .NET MAUI
Architecture
.NET MAUI unifies Android, iOS, macOS, and Windows APIs into a single API that allows a write-once run-anywhere developer experience, while additionally providing deep access to every aspect of each native platform.
.NET MAUI provides a single framework for building the UIs for mobile and desktop apps. The following diagram shows a high-level view of the architecture of a .NET MAUI app:
In a .NET MAUI app, you write code that primarily interacts with the .NET MAUI API (1). .NET MAUI then directly consumes the native platform APIs (3). In addition, app code may directly exercise platform APIs (2), if required.
MVVM Pattern
The MVVM pattern helps to cleanly separate an application's business logic and presentation from its user interface (UI). Maintaining a clean separation between application logic and user interface helps resolve numerous development issues and makes an application easier to test, maintain, and evolve. It can also significantly improve code reuse opportunities and allow developers and UI designers to more easily collaborate in the development of their respective parts of an application.
Consumed API
Consumend EndPoint's
- https://api.spacexdata.com/v4/launches/past
- https://api.spacexdata.com/v4/launches/upcoming
- https://api.spacexdata.com/v4/launches/latest
- https://api.spacexdata.com/v4/launches/next
- https://api.spacexdata.com/v4/roadster
Result
Screenshot's
Video
Design based on: https://github.com/bedirhankaradogan/spacex-history