vuestorefront / storefront-api

Storefront GraphQL API Gateway. Modular architecture. ElasticSearch included. Works great with Magento1, Magento2, Spree, OpenCart, Pimcore and custom backends

Home Page:https://storefrontapi.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What should I put in 'platform' if I am using spree as backend?

shunnokw opened this issue · comments

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

Check our forum:

https://forum.vuestorefront.io/

Is there something you don't understand? What is it? Describe it.

I already setup spree2vuestorefront and have a single end point at port 8889
What platform should I use at local.config file?
And what should I put in index.js?

 let modules = [
    DefaultVuestorefrontApiModule({
        platform: {
            name: 'magento2',
            platformImplementation: magento2
        }
    }),
    DefaultCatalogModule(),
    DefaultImgModule(),
]

Also, where should I put the endpoint url in?

Thank you

Can't find what you're looking for?

Keep the problem description concise and include:

  • A brief description of the problem,
  • Where the problem is occurring,
  • The length of time the problem has been occurring,
  • The size of the problem.

Additional information

Same question here. I followed the documentation of Spree for the spree2vuestorefront part, and I am stuck at the same place. It seems like the spree platform integration code in the VueStorefront API is not open source. The documentation is also missing.

In any case @shunnokw don't hesitate to connect with me if you are looking for help or a collaboration.