Giter Site home page Giter Site logo

marcos1262 / event-building Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.39 MB

An iOS app that calculates estimated cost of services for an event. Made with SwiftUI, MVVM, Combine and Async/await.

Swift 100.00%
async-await combine ios mvvm-architecture swift swiftui

event-building's Introduction

EventBuilding

An iOS app that calculates estimated cost of services for an event.

User Story Description

As a user using the Event Building Inc. application, I would like to perform specific tasks in my event such as hiring staff, decorations, catering, etc.

You are tasked with creating a sample screen from the Event Building Inc. application that allows the user to select the task they want. All tasks are categorized under different categories like (Staff, Food, Catering ..etc). As such, the user selects a category and should be able to see all the items under this category. Each item in the category may be included in multiple categories, and other items will only be included in one category.

Functional Requirements

  • Each category should have a title and an image.
  • Each item in a category should have a title, minBudget, maxBudget, avgBudget, and an image. The app should list all categories and fetch them from GET https://swensonhe-dev-challenge.s3.us-west-2.amazonaws.com/categories.json
  • When a user clicks on a specific group, the app should fetch the item for that category using https://swensonhe-dev-challenge.s3.us-west-2.amazonaws.com/categories/{categoryId}.json
  • The app should show the category title and image along with each item’s title, image, minBudget, maxBudget, and whether it has been added to the user's items or not.
  • Users should not be able to add the same item twice from the same category or different categories.
  • On the categories list, display a label to show the average cost of all added items. The average should be calculated using the summation of avgBudget for each item.
  • If the user has added any item, display a button to mark that item is added.

UI/UX Design Specifications

Figma Project

πŸ“± Screenshots

πŸ‘©πŸΎβ€πŸ’» Technologies

  • SwiftUI targeting iOS 14
  • MVVM Architecture
  • Combine
  • Unit test for ViewModel - Quick, Nimble
  • UI Test - XCTest
  • SPM - Swift Package Manager
  • Converted third-party CleanNetwork Async-await to Combine
  • Dependency Injection for network layer
  • Loaded images - KingFisher
  • Localized strings for en and pt-BR

event-building's People

Contributors

marcos1262 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.