This is simple app which would create products feed as per the schema by fetching products from a shopify store.
Run bundle
from the home directory
Need to set following environment variables to connect with shopify API
SHOPIFY_API_KEY
SHOPIFY_API_PASSWORD
SHOP_NAME
Run following command From the root directory
SHOPIFY_API_KEY=<SHOPIFY API KEY> SHOPIFY_API_PASSWORD=<SHOPIFY API PASSWORD> SHOP_NAME=<STORES NAME YOU USE TO ACCESS FROM BROWSER> spring rspec spec
Note: The current version of VCR creates issue with Ruby 2.4.1 but highly recommend to use it to avoid flaky and slow tests.
- Start Server using
rails s
assuming all required environment variables are already set - Hit
http://localhost:3000
in browser