-
After cloning the repo run
yarn install
insubscription
and inDeploy/server
runyarn install
again. -
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)
-
Run
yarn build
in thesubscription
directory -
Follow the deploy instructions to deploy this code on cloud run.
-
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.
-
Use the subscription.json create a subscription on the api playground (use it as payload) make sure you change the topic to the one you created in step 5.
-
Use the customerPointsType.json to create a type on the api playground (use it as payload).
-
Notifications
You must be signed in to change notification settings - Fork 1
harm-meijer/loyalty-points
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Demo loyalty points subscription for comercetools
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published