Skip to content

An example Firebase project using functions and Firestore to persist subscriptions

Notifications You must be signed in to change notification settings

memberful/memberful-firebase-webhooks-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Memberful Firebase webhooks example

This repo is a basic example of extracting data from a Memberful webhook and storing it in Google Firebase.

To deploy you need Cloud Functions for Firebase enabled on your project and a Firestore collection named "subscriptions".

Any Memberful webhooks containing a subscription object, like "subscription.updated", will create or update the subscription by ID when posted to the function endpoint.

All the logic can be found in functions/index.js.

Firestore screenshot

About

An example Firebase project using functions and Firestore to persist subscriptions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published