danielbuva / goalie

share goals with friends

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Delete a Goal

danielbuva opened this issue · comments

Users need a way to delete their own goal for when they are regret what they posted!

Backend:

  • DELETE route that uses goalId in url params to remove record from db
  • successful response is a message sharing that the response was successful
  • error response is 404 when goal is not found based on id and share that too :)

Frontend:

  • goals have the three dots dropdown menu button (see wireframe), which has a delete option
  • delete option opens confirmation modal (see wireframe)
  • confirming deletes it!