diff --git a/README.md b/README.md index c78ca5b9..7954a5d4 100644 --- a/README.md +++ b/README.md @@ -62,3 +62,18 @@ the command: ```bash pnpm lint ``` + +## Examples + +You can find examples of using the SDK in the [examples](./examples) directory. + +The examples are based on the [Saleor App Template](https://www.github.com/saleor/saleor-app-template). + +The `examples` directory contains: + +- `async-webhook-handler` - an exemplary implemention of `order-created` webhook handler. +- `dashboard-extensions` - +- `external-webhook` - +- `metadata-manager` - +- `protected-route` - +- `trpc` - an example of implementing an app that uses tRPC. diff --git a/examples/dashboard-extensions b/examples/dashboard-extensions index 957bbdc6..32ba4265 160000 --- a/examples/dashboard-extensions +++ b/examples/dashboard-extensions @@ -1 +1 @@ -Subproject commit 957bbdc669b053782024ee343109654ecfadd555 +Subproject commit 32ba4265ed10778ca9ebaf541e71d11d788471af diff --git a/examples/external-webhook b/examples/external-webhook index 957bbdc6..108c326c 160000 --- a/examples/external-webhook +++ b/examples/external-webhook @@ -1 +1 @@ -Subproject commit 957bbdc669b053782024ee343109654ecfadd555 +Subproject commit 108c326ca2a4414eda2b0653f9a0e80ed7f2008c diff --git a/examples/metadata-manager b/examples/metadata-manager index 957bbdc6..3ff8dc6d 160000 --- a/examples/metadata-manager +++ b/examples/metadata-manager @@ -1 +1 @@ -Subproject commit 957bbdc669b053782024ee343109654ecfadd555 +Subproject commit 3ff8dc6dff0adde6c9f1f786a259237e30596f1b diff --git a/examples/protected-route b/examples/protected-route index 957bbdc6..de362ee4 160000 --- a/examples/protected-route +++ b/examples/protected-route @@ -1 +1 @@ -Subproject commit 957bbdc669b053782024ee343109654ecfadd555 +Subproject commit de362ee412fe9b67bee75ede4ea5d3dc58b119d9 diff --git a/examples/trpc b/examples/trpc index 957bbdc6..813bbd57 160000 --- a/examples/trpc +++ b/examples/trpc @@ -1 +1 @@ -Subproject commit 957bbdc669b053782024ee343109654ecfadd555 +Subproject commit 813bbd57101066fe817aced2125ac7e645ddf6c4