Created changeUserStatus function in ProfileForm.tsx which makes a call to /users/:userid endpoint to delete user from prisma and firebase databases (added ability to delete from firebase database in views.ts)
Created a Modal for deleting account in ProfileForm.tsx; when account is deleted the user's session ends, they are rerouted to login page and their account is deleted
Testing
Created dummy accounts to test the endpoint on postman and then on our local code
Notes
Akin noted the importance of having the prisma and firebase deletion in the same promise
H1 Account-Deletion-FullStack
Summary
Closes #207
Testing
Notes