Skip to content

Survey Submission API #30

@Murkantilism

Description

@Murkantilism

Create a Node JS webservice to accept Tripetto submissions and write results to database.

Here is sample of the JSON output from Tripetto:

Object
fields: Array(33)
0: {name: "How are you feeling today?", type: "tripetto-block-multiple-choice", version: "1.0.2", slot: "choice", …}
1: {name: "Fever", type: "tripetto-block-multiple-choice", version: "1.0.2", slot: "fca2fe706fe806e2d6da76aa3b11db94f1b48c7b88483f1559c9da0541962ad5", …}
2: {name: "Chills", type: "tripetto-block-multiple-choice", version: "1.0.2", slot: "605bd01e6e45d13d24c62ede47dea75fe288cbca8a9e590b34bc7b31744b6541", …}
3: {name: "Fatigue", type: "tripetto-block-multiple-choice", version: "1.0.2", slot: "b18f61e6f5c7fd6b45723780f3c5a542ec23ccc5bb70e792fb543016d69c619a", …}

Acceptance Criteria

  • A new webserivce resource that can be passed Tripetto output from the frontend and writes it to database, parsing or normalizing it first (if needed)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions