Git Product home page Git Product logo

pizzaapp's Introduction

Nenno's Pizza

Features

  • Shows List of pizzas available
  • Allows Customizing pizza
  • Allows Editing pizza before checking out
  • Cart Management
  • Lazy loading with Skeleton content
  • Shimmering effect when loading images
  • Empty data notification

Structure

App is divided in 4 base folders:

  • Modules: Where all parts of the app would be located. Perhaps including their respective Storyboards and Xibs.
  • Library: All the logic of the app is located here.
  • Assets: For all assets.
  • Supporting Files: App delegate and other supporting files.

Design Patterns

I'm using the following Design patterns:

  • MVVM: to serve as model for the view controller. (*ViewControllerModel)
  • Delegates: Being used to send information from ViewModel to ViewController
  • Facade: Separating the network layer

Tests

Added basic unit tests for model parsing and checking if URL is correct. They are part of the module as it makes it easier to find them. Feel free to run CMD+U.

Limitations

  • Not possible to choose Drinks. I added the services for Drinks, but didn't build the UI for it. Currently all I'm presenting is a message.
  • Order POST doesn't work, seems like the service is not existent. In this case, I'm taking it as successful anyways for demonstration purposes.
  • Not persisting data accross launches. This could be easily accomplished with local storage. Either UserDefaults or CoreData. Quick approach would be using UserDefaults by saving parsed Data.

pizzaapp's People

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.