Git Product home page Git Product logo

rickandmortyapp's Introduction

RickAndMortyApp

Description

The application consists of showing a list of Rick and Morty characters and being able to navigate to a detail where you can see more information on the location of each of them.

Used technologies

For the construction of this solution the following stack has been used:

  • XCode 14
  • Swift 5
  • SwiftUI
  • Async/Await
  • XCTests

Architecture

As architecture, MVVM has been used for the presentation layer, composed of a view in SwiftUI communicated with a ViewModel which manages the behavior of the view and it uses datas from use cases (domain layer). In addition to the presentation layer, we have the domain layer, where we define the use cases that we need, which is fed by the Data layer where we define the necessary repositories. In the use cases we are defining what we need in our business where we can adapt the datas to our application. All layers and communicate by protocols to be testable and disengaged and the architecture complies with the solid principles.

Notes

  • The list has an infinite scroll
  • In detail we can save a character as a favorite, and we can see the list from the main screen
  • We have unit tests for Repositories and Use Cases.

TODO

  • Some repositories and ViewModels do not have tests yet.
  • The interface can be improved.

rickandmortyapp's People

Contributors

alfonsomiranda avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.