We added a feedback API to our application
https://www.youtube.com/watch?v=6DNn7_y6bkA
- User feedback added with integration guide
- Integration guide has example JS code
await fetch("<https://projectplannerai.com/api/feedback>", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
name: 'Bob Smith',
feedback: 'Great app!',
projectId: "j43iofouewjf342jeivrj"
}),
});
- Rate limited on the backend (1 request / 10 seconds)
- User suggestions are passed to GPT and turned into work items for how to improve
- Feedback route
- Endpoint to accept POST request
- Gets feedback
- Does basic validation
- projectId
- feedback
- Other optional fields
- name
- email
- title
- label
- status
- Convex is used for the backend