We want to have an application that has 2 screens.
The first screen consists of a list of products. The list should display a header with the cluster name as well as the products it contains. We expect to display at least the title, image, and price of each product.
Once you click on a given product of the list you will be redirected to another screen with more specific information.
The second screen will display more detailed information about a given product. We expect at least to show title, image, description and allergy information of the product.
Once you have finished the project, please get in contact with your recruiter and send a zip file with your android studio project.
Please make sure the project compiles before submitting it.
Find below the information regarding our endpoints:
-
Base Endpoint:
-
Product list:
- GET “/products”
{
"clusters": [
{
"tag": "Fresh > Fruit > Bananas",
"items": [
{
"id": 309396011,
"price": "1.45",
"title": "Ocado Organic Fairtrade Bananas",
"size": "6 per pack",
"imageUrl": "https://mobile.ocado.com/webservices/catalogue/items/item/309396011/images/image/0/240x240.jpg"
},
{
"id": 227255011,
"price": "4.45",
"title": "Ocado Fairtrade Ripen at Home Bananas",
"size": "5 per pack",
"imageUrl": "https://mobile.ocado.com/webservices/catalogue/items/item/227255011/images/image/0/240x240.jpg"
}
]
},
{
"tag": "Fresh > Salads & Herbs > Cucumber",
"items": [
{
"id": 240875011,
"price": "0.64",
"title": "Ocado Cucumber",
"size": "1 per pack",
"imageUrl": "https://mobile.ocado.com/webservices/catalogue/items/item/240875011/images/image/0/240x240.jpg"
}
]
}
]
}
- Product detail:
- GET “/product/{product_id}”
{
"id": 240875011,
"price": "0.64",
"title": "Ocado cucumber",
"imageUrl": "https://mobile.ocado.com/webservices/catalogue/items/item/240875011/images/image/0/360x360.jpg",
"description": "Clean crisp and juicy in a salad or sandwich, even better with a dip or just on its own as a great tasting snack.",
"allergyInformation": "No allergies"
}
-
Code organisation and architecture.
-
UI is not our main interest but feel free to impress us with your skills!
-
The use of third-party libraries is encouraged if you consider them useful.
-
Tests are highly valued.