Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using stripe-sync-engine #77

Closed
throwaway34241 opened this issue Aug 12, 2021 · 2 comments
Closed

Consider using stripe-sync-engine #77

throwaway34241 opened this issue Aug 12, 2021 · 2 comments
Labels
question Further information is requested

Comments

@throwaway34241
Copy link

I learned that supabase is developing https://github.com/supabase/stripe-sync-engine. It seems that this could replace the code in ./utils/useDatabase.js, is that correct?

This comment in that file might be relevant:

// This entire file should be removed and moved to supabase-admin
// It's not a react hook, so it shouldn't have useDatabase format
// It should also properly catch and throw errors

Since this is a supabase integration, it might make sense to use that sync engine.

@thorwebdev
Copy link
Collaborator

@throwaway34241 https://github.com/supabase/stripe-sync-engine is build with fastify and needs to be deployed separately. It's mainly meant to sync stripe data to your Postgres DB so you can run complex analytic queries on it at a later point in time. So bit of a different use case. Does that make sense?

@thorwebdev thorwebdev added the question Further information is requested label Aug 13, 2021
@leerob
Copy link
Member

leerob commented Jan 16, 2023

Closing this out as resolved 🙏

@leerob leerob closed this as completed Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants