codeforsanjose / disaster-response-sj

Exploration of adding civic tech component to San Jose disaster response
MIT License
7 stars 12 forks source link

Add a Delete Post front end method and interface component #76

Open sunnymui opened 5 years ago

sunnymui commented 5 years ago

Currently, you are unable to delete a post from the front end.

There is a method defined in backend\routes\postsRoutes.js to delete a post, just no frontend function in src\api\api.js to send a delete request or an interface component that lets admin users click to delete a post.

Adding this would be nice to so we could put the D in CRUD app.