joshvince / commuter

The Node.js version of a web service that provides additional data about the London Underground
0 stars 0 forks source link

accept feedback from webapp #14

Closed joshvince closed 7 years ago

joshvince commented 7 years ago

the commuter webapp can now send feedback about how accurate the display was

current schema is:

{
  line: pageData.lineData,
  display: {
    current: pageData.currentStatus,
    historic: pageData.historicStatus
  },
  feedback: feedbackData
}

This service should expose an endpoint for feedback POST requests like this. When it receives it, it should take the feedback and add it to a new feedback table.

joshvince commented 7 years ago

solved by #15