Inspiration
Some developers are unaware they are required to handle deleting of user data when a user deletes their account, including user IDs and usernames. However, there is not really any "standard" way in the templates to provide this functionality.
What it does
It provides a single file developers can use in their project to register userIDs or usernames for deletion detection, and then a single method they can modify to process that deletion from their Redis data.
How we built it
Building upon my Daily Post Example
Challenges we ran into
Testing this is a bit difficult. Mostly, creating and deleting a new account is cumbersome...
Accomplishments that we're proud of
Hope this can help users properly process user deletions, and maybe can be something the platform can "build in" to provide a "OnAccountDeleted" trigger.
What we learned
I need to be better at organizing and documenting my code for things like this... It still needs a lot of work before use, in order to make sure anyone can use it!
What's next for Utility - User Deletion Detector Framework
Hopefully something I can update in my example and provide users the basic instructions to install and use. However, I would like to discuss with the Reddit engineering team whether this "strategy" could be something all apps have built in (i.e. provide the "registerUserForDeletionDetection" method, and a "OnAccountDeleted" trigger).

Log in or sign up for Devpost to join the conversation.