Skip to content

harm-meijer/subscription

Repository files navigation

Todo

Subscription demo

Installation

  1. After cloning the repo run yarn install and in Deploy/server run yarn install again.

  2. Create a .env file in root of the project (.env.local does not work!) with the content of an admin api key generated in mc center (export as Sunrise SPA)

  3. Run yarn build in the project root

  4. Follow the deploy instructions to deploy this code on cloud run.

  5. Create a Google pub sub topic and create a subscription, make it a push subscription and use the url of the published cloud run project.

  6. Use the subscription.json create a subscription on the api playground (use it as payload).

  7. Use the customerPointsType.json to create a type on the api playground (use it as payload).

About

Commercetools subscription

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published