Git Product home page Git Product logo

what3words's Introduction

Step to build project

Open the what3words.xcodeproj and wait until all package dependencies and run app

What I have completed in the project

  1. Use https://developer.themoviedb.org/reference/trending-movies to get the trending movies for today and create an infinite list (query the next page as it scrolls)
  2. This should work offline after first use by caching the results, the cache should persist between application sessions and device reboots.results
  3. The movie list item should include an image, movie title, year and vote average
  4. Add a search field and allow searching movies using https://developer.themoviedb.org/reference/search-movie, when the search field is empty go back to showing the trending movies (search doesn’t need to work offline)
  5. Present a detail view when a movie is tapped. Get info for the view using https://developer.themoviedb.org/reference/movie-details. Also cache this detail info to make it work off-line for any items that were previously queried and viewed.
  6. Create Unit Tests
  7. Make search work offline by searching cached results
  8. Error message handling (offline/online/failed API calls)

Architecture overview

I use Clean Architecture and MVVM for this project.

For the local storage I use Core Data for it

High Level Overview

High Level Overview

Domain Layer: Entities + Use Cases + Gateway Protocols

Data Layer: Gateway Implementations + API (Network) + Database

Presentation Layer: ViewModels + Views + Navigator + Scene Use Cases

Demo

https://youtu.be/clw_YrU462g?si=TwKvW9OmAhJLJwog

what3words's People

Contributors

pt-hung1311 avatar

Watchers

 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.