Giter Site home page Giter Site logo

restoapp-ios's Introduction

RestoApp-iOS

This is a mini project of a food ordering app. A user can see a list of menus. When the user tap a menu item, the app shows a detail page containing its variants and extras addons. Through the detail page, the user can choose a variant, addons, how many quantity needed for the dish and see the total price that is calculated from the chosen options.

Project Structure

This project structure is monorepo arranged into the following folders:

  • Menu Feature. This contains domain models of the app and protocols that represent loading menu item use case and loading detail item use case. These components do not have any dependency with other components outside this folder.
  • Menu UI. This contains UI components. UI components don't hold states and their states are controlled by View Model components.
  • Menu Presentation. This contains view model components. View models accept inputs from view controllers and use case components, and also manage states represented by view controllers
  • Menu API. Components contained in this folder are implementation details of loading use cases defined in menu feature.
  • Tests (RestoApp iOSTests). This folder contains tests for Menu API & Menu Presentation components. I tried Test Driven Development process while developing this app so I made the test while developing the production code. I don't test fully the UI components yet because I find it is harder and tricky to test

How to Run

To run the project, clone and open the RestoApp-iOS.xcodeproj using Xcode 13. Let the dependency manager (swift package manager) load the dependencies, then the app should be running by clicking the play button or pressing Command + R.

restoapp-ios's People

Contributors

fahimj avatar

Watchers

 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.