Git Product home page Git Product logo

cart-mobile-template's Introduction

Challenge

Create an APP that gets and displays information from RockSpoon's Search API

  • The app will have two screens:

    • The first one allows the user to search for items (plates) using RockSpoon Search API (https://dev-api.rockspoon.io/search/v2/composed). The search can be performed using the search text field.
    • The second screen displays information when an item is selected from the list.
  • The hide option will remove that entry from the list. Ideally this should be persistent across multiple searches. In other words, if the user decides to hide on item it won't appear anymore.

  • Please consider the mockup below as a guide on how the page should be created.

Mobile.png

The APP must have

  • List of items page: You can get it using the following call:
curl --location --request POST 'https://api.rockspoon.io/search/v2/composed' \
--header 'key: {key}' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{ 
    "entity": "item",
    "page": 1,
    "size": 10,
    "params": {
        "term":["burger"],
        "tags": [ "cuisine\u003eamerican"]
    }
}'
  • The page must get and display paginated results, with endless/infinite scroll (incrementing the page parameter).
  • For each item, the App must show: Item's name, description, picture, and number of spoons.
  • When selecting an item, the item details page must be displayed.
  • Item details page. You can get it using the following call:
curl 'https://api.rockspoon.io/catalog/consumer/item/{itemId}' \
  -H 'Accept: application/json' \
  -H 'key: {key}'
  • The item's page must show: Item's name, tags, price, availableFor, and sizes and prices.

MUST have

  • Use a build system (Gradle for Android, Fastlane for iOS)
  • JSON -> Object mapping (GSON / Jackson / Moshi / etc for Android, Codable for Swift)
  • Material Design (Android only)

Nice to have

  • Framework for API communication (Moya + RxMoya on Swift)
  • Unit tests or screen tests
  • Functional tests (that browse the app as a use case)
  • API and image caching
  • Support orientation change without losing state

Submission process

You must implement the code and send a pull request to the repository.

cart-mobile-template's People

Contributors

marlom-rockspoon 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.