Giter VIP home page Giter VIP logo

review-syncer's Introduction

review-syncer ๐Ÿ’พ

About

As a Shopify app developer, we would like to fetch and store app reviews on a regular interval.

Shopify app reviews can be fetched via Shopify REST endpoint: https://apps.shopify.com/{app-name}/reviews.json

For example: https://apps.shopify.com/product-upsell/reviews.json

Exercise

We would like the following:

  • fetch app reviews from the Shopify public REST endpoint for a one or more of our applications (see app names below)
  • store the results in a database table (see below)
  • be able to handle updates to app reviews (i.e. original review was 1 star, now 5 stars)
  • run on a configurable interval (i.e. every 30m or 60m)
  • create a web UI that allows you to view and search app reviews (filter by app, sort by date)

Below is the full list of application names that we want to fetch and sync reviews for:

App Name
product-upsell
product-discount
store-locator
product-options
quantity-breaks
product-bundles
customer-pricing
product-builder
social-triggers
recurring-orders
multi-currency
quickbooks-online
xero
the-bold-brain

For example, if I wanted to fetch all the reviews for Product Upsell:

https://apps.shopify.com/product-upsell/reviews.json

Technical

  • Fork this repo on GitHub

  • Choose from either php, go, java, python or Javascript/Node

    • Feel free to use web / application frameworks, there is no restriction on building everything from scratch
  • Store app reviews in a data structure something like: (for example: MySQL)

CREATE TABLE `shopify_app_reviews` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `shopify_domain` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `app_slug` varchar(255) NOT NULL,
  `star_rating` int(11) DEFAULT NULL,
  `previous_star_rating` int(11) DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

Bonus Points

Now that you have this data, do something interesting with it, tell us something useful about our apps or present the data in a special way. How would you gather insight from this?

review-syncer's People

Contributors

markstgodard avatar rcabarreto avatar erkswerks avatar

Watchers

James Cloos avatar  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.