mirumee / saleor-app-framework-python

Python Saleor App/Extension boilerplate. Batteries included.
https://mirumee.github.io/saleor-app-framework-python/
BSD 3-Clause "New" or "Revised" License
50 stars 23 forks source link

Init commit for structure of project and basic endpoints #1

Closed korycins closed 3 years ago

korycins commented 3 years ago

Add init implementation of python framework for Saleor Apps. It adds very basic logic which should be helpful during the implementation of new App. This PR covers below actions required for Saleor App. Below charts should give a hint, what logic introduces this PR. Grey background - flow handled by the framework, Green - action required to implement on App side. App installation request: image

App instalation, background process: image

App render an iframe confgiuration view on Saleor side ( ❗❗❗ This will be changed in future PRs as it doesn't give an app ower enough flexibility) image

Handling a Saleor's webhook payload (framework will automatically subscribe to events which have defined handlers) image

Note, future PRs (when we will be sure that we flexible cover most of the use cases) will include some examples to make sure, that everything is clear and easy to use.