Removing participants from the list
It's time to sum up all of the skills you have learnt during the course.
- add new button next to every person in the list that emits an event
- receive it in the main component and send HTTP DELETE request to the backend
- receive this request on the backend and execute an SQL Query that deletes the selected participant
- return HTTP 204 response to confirm deletion
- as soon as the response arrives, remove user from the list on frontend
Check out mine instance :-)