Hi, I have created a public app locally using the CLI command and also developed the backend in Node.js. All the APIs in my app are working fine, including the UI extension and OAuth-related functionality.
When a user installs the app, I store their data in MongoDB. However, when a user uninstalls the app, I need to remove their data from the database. I checked HubSpot's documentation, and they suggest using webhooks for this purpose. But from what I understand, webhooks might not be fully supported in a local CLI setup.
How can I handle this scenario—clearing the user’s data from the database when they uninstall the app—while running the app locally?