Yashasv-Prajapati / Docify

5 stars 2 forks source link

Added api route for account delete functionality #138

Closed shobhitjuglan closed 1 month ago

shobhitjuglan commented 2 months ago
  1. Deletes all the user data from the database
  2. Redirects to docify github app configure page so that user can also delete their account from there
linear[bot] commented 2 months ago
CS3-141 Account delete API handler

Expected behaviour When a user chooses to delete their account, remove all their data from the database (User data, project data, Markdown data, etc) and make sure to delete the things while maintaining database consistency, and foreign key constraints, you can't simply delete user field data by removing the row, you also to remove the relational objects too. Next, Redirect them to docify github app configure page so that they can also delete their account from there.

shobhitjuglan commented 1 month ago

@Yashasv-Prajapati made the necessary changes, check it out

shobhitjuglan commented 1 month ago

@Yashasv-Prajapati made the changes. Please have a look