Skip to content

ayetolusamuel/Mini-Shop

Repository files navigation

This project is based on paging codelabs and follow MVVM Architecture.

  • The project requires Android Studio 3.6+

  • The project consume Woocommerce Restful API of any website develop with wordpress using woocommerce plugin.

  • The concept of the project is to explain how to use paging library for both remote & local datasource, and you will be able to perform search action on product list.

Libraries

Room
Paging
Glide
Steho
CurrencySign
Retrofit etc.

The Restful Api Used:

  • click here to generate your Api Key (customer_key & customer_secret) for your ecommerce website.

  • click here for Restful API response used, you can test this on your postman.

If you're trying to consume woocommerce Restful Api of your Site(Ecommerce develop with wordpress), follow the below guidelines:

  • Woocommerce Restful Api base url for product
Replace example.com with your domain name

  • Complete Restful Api path
Replace the customer key and customer secret with the one you generated from the above link.And dont forget to replace example.com with your domain name.

For this project the customer keys & customer secret:

customer_key = ck_7ae18a838d4eef3321447c5fdfd88c96020d0f48
customer_secret = cs_bed4f32d44a97c8bb6e7d23fb3a00b1c762e1969

Click here for Woocommerce Resful Api documentation for products
  • For code structure video demo click here

App Demo

Features

  • Both remote & local data source
  • display product list
  • perform search on product list

Source

Google paging Codelabs