An open API service indexing awesome lists of open source software.

https://github.com/mrikirill/simplemovieswiftuidemoapp

A demo project which is based on SwiftUI and build with MVVM and The Clear Architecture in mind and also uses themoviedb.org REST API
https://github.com/mrikirill/simplemovieswiftuidemoapp

clean-architecture demo demo-app ios-app mvvm swiftui themoviedb tmdb

Last synced: 24 days ago
JSON representation

A demo project which is based on SwiftUI and build with MVVM and The Clear Architecture in mind and also uses themoviedb.org REST API

Awesome Lists containing this project

README

          

# Simple Movie SwiftUI Demo App

A demo project which is based on SwiftUI and build with MVVM and Clear Architecture in mind.

The app uses https://www.themoviedb.org REST API to get the data about movies

## MVVM + [The Clean Architecture](https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html)

## Description

This app has two screens. The main one is Popular Movie list screen which fetches the data from https://api.themoviedb.org `GET /movie/popular` endpoint and displays the list of movie items. The second screen displays the details of selected movie which receives `movieId` from the main screen then fetches the data from `GET
/movie/{movieId}` endpoint and displays the details

## Architecture Overview

![](TheCleanArchitecture.png)

## Overview

| Preview | Live |
|-------------------|------------------|
| ![](swiftui.png) | ![](swiftui.gif) |

## Tests

![](tests.png)