codesydney / marketplace-app-for-good

1 stars 1 forks source link

MA2 - Customer Onboarding #3

Closed davidtaing closed 6 months ago

davidtaing commented 3 months ago

Initially I had built out a solution that fired a webhook using database triggers when a user is inserted to the database. This solution is too hacky for my tastes. It's very opaque which it makes it hard monitor failures and perform retries if either the trigger or webhook endpoint fails.

The work was eventually moved to new sign-up endpoints. The users send a post request when they submit their sign-up forms and we perform the work there.