These are chat archives for mirumee/saleor

4th
Sep 2018
fryansfdc
@fryansfdc
Sep 04 2018 12:32
Hi everyone, a couple of quick questions:
  1. Are there any REST APIs out of the box or is the only option GraphQL beta?
  1. What is your suggestion for buy online + collect at physical shops?
Thank you
Stephen Moloney
@stephenmoloney
Sep 04 2018 12:51
I think graphql is the option option and it is still under development.
For collect options, not sure, maybe others know.
fryansfdc
@fryansfdc
Sep 04 2018 12:52
Thanks Stephen! I'm a little surprised by the lack of a REST API for some basic operations - any suggestions on what to do there?
Stephen Moloney
@stephenmoloney
Sep 04 2018 12:53
I've been involved in a graphql project in the past and it is superior to a RESTful api in my opinion. More flexibility.
So in terms of REST vs graphql, graphql does everything REST can.
The main issue is that saleor graphql is not ready.
I also would be happy to be able to use the graphql api today as I'm starting a new project soon. I suppose I just gave up on the using the graphql api for now. The roadmaps shows the items to be completed and I think it's a substantial body of work. I suppose if you can afford to wait for a few months that might be your best bet.
fryansfdc
@fryansfdc
Sep 04 2018 12:56
GraphQL def seems like a good technology but it requires some up-skilling on the devs' side and it being in beta is not a good story. I just thought there'd be a REST API in place catering for all the other guys/girls that wanted to build a react/vue/angular frontend
Stephen Moloney
@stephenmoloney
Sep 04 2018 13:06
GraphQL is an alternative to REST. The upskilling from the frontend is minimal, most of the upskilling is on the backend.
Beta is only because they are working on it, if it were a REST api it would also be Beta.
fryansfdc
@fryansfdc
Sep 04 2018 13:14
Thanks Stephen, compelling arguments
ps: Fantastic tool! I've really enjoyed using Saleor so far and whoever does your UI / Graphics is also top talent
Stephen Moloney
@stephenmoloney
Sep 04 2018 13:21
I'm not part of saleor, in fact, TBH I'm still evaluating it now for use in an upcoming project. I'm also not a python developer which makes life a bit harder for me. I'm here for the same reasons you are :-)
fryansfdc
@fryansfdc
Sep 04 2018 13:22
Oh, I assumed you were a core dev
Well I'm a Python amateur dev
Stephen Moloney
@stephenmoloney
Sep 04 2018 13:22
I have half written the kubernetes helm charts so if I get it finished that'll probably be my most significant pull request.
fryansfdc
@fryansfdc
Sep 04 2018 13:23
also doing a bit of an eval right now - I need an ecommerce solution which will hopefully let me assign different inventory options for different stores
and api requests for mobile apps
Stephen Moloney
@stephenmoloney
Sep 04 2018 13:25
For the mobile apps, you will need the graphql api alright. Come to think of it, I wonder if there is a demo graphiql page where people can come in and test out the graphql Beta. Question for the core team.