-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an example how to add custom REST backend #2166
Comments
I've started working on REST Api adapter last month, and its halfway done. I should be able to finish this one within this month. (If someone needs it faster I can share what work I have, so just PM me and you can continue) |
Awesome - maybe push it to some github repo to let other folks to continue on that? |
I have to do some tweaks before publishing it within some repo. I will do so when someone PMs me that they want to continue or when I get time to do so. So feel free to PM me anyone if interested. |
Real life exmaple of this: |
@pkarw was this finished? Can we add the "real life example" to the README maybe? :) |
It hasn’t been finished yet :/ let’s keep it open |
This is what I'm looking for. Wanted to implement VSF to my ERP backend a year ago but building the API with elasticSearch was too complicated for me. |
What is the motivation for adding / enhancing this feature?
We do have the
searchAdapter
abstraction layer for API backends. Would be great to add thesimplerest
API backend that DOES NOT require elasticSearch.I mean - we should create a simple
vue-storefront-api
like API which is accepting theQueryObject
and returns some items from database + implement the rest methods that we have there. Currently the REST adapter transforms the query toelasticSearchQuery
to comply with Elastic DSL. The idea is to not do this as our QueryObject is much simpler than Elastic DSL. For example thegraphQL
adapter doesn't transorm the query but rather sends the query object as a part of gql queryThe idea is to replace the vue-storefront-integration-boilerplate with something simpler.
What are the acceptance criteria
The text was updated successfully, but these errors were encountered: