Mayuresh-22 / Minglr

Social Network Site developed using HTML, CSS, JS and PHP as a Backend Language. This site supports the functionality of login/registration and sharing the posts/photos through their accounts, also it has the functionality of private messaging with the users.
https://links.mayuresh.me/minglr
MIT License
37 stars 39 forks source link

[feat] Add a DELETE option to a post #112

Open Mayuresh-22 opened 7 months ago

Mayuresh-22 commented 7 months ago

What is expected?

There's no way someone can delete their uploaded posts. You are expected to develop a "Delete" option so that users can easily delete their uploaded posts permanently.

What you can do?

You can add a "Delete/Trash" icon at the top-right corner of the post box. When the user clicks on it, a confirmation box will pop up to confirm which post will be permanently deleted.

Things to remember

Your changes must be responsive and ensure that the delete button shows up only on posts uploaded by the user who is logged in.

As deleting is one of the CRUD operations you will be working with a database so make sure you are pretty aware of what you are doing.

Ankita-0302 commented 7 months ago

Hi ,I am interested to work on this issue ,request to you assign this issue to me .I can help you by adding the delete option

Mayuresh-22 commented 7 months ago

Hey @Ankita-0302, I am assigning this issue to you. Make sure you have understood the issue. Start working on it, it would be great if you raise PR in the coming 2 days.