KristerV / heliumpay-budgetweb-backend

2 stars 2 forks source link

Comments #30

Closed jschr closed 6 years ago

jschr commented 6 years ago

This PR add comments functionality per this design spec: https://github.com/KristerV/heliumpay-budgetweb-backend/issues/24

Tasks

New API Endpoints

GET   v0/comments?proposalHash=         // Get all comments for a proposal
POST  v0/comments                       // Create a new comment
PUT   v0/comments/:id                   // Update a comment by id
DEL   v0/comments/:id                   // Delete a comment by id
POST  v0/comments/:id/vote              // Vote on a comment