Our Vision

Our vision for the Wearware Study Manager project is a secure, reactive web app that will allow researchers to collect study data using Fitbits.
Below is a diagram showing our envisioned workflow for our users.

workflow

A diagram of our envisioned workflow.

As you can see with this workflow, we plan to create a system that will allow researchers to do the following:

  • Create studies
  • Enroll participants studies, either manually or with participant self-enrollment
  • Collect Fitbit data from participants
  • Monitor active studies
  • Communicate with participants
  • Export participant data from studies

In addition to this workflow, our solution will have the following improvements over our client's old technology:

  • No timeouts on export
  • Fitbit sleep data will be collected
  • Data export will be available via an API.
  • Data export will no longer hve timeout errors.

Our Technologies and Plan

Below is an diagram showing the architecture and technologies that we will be using to accomplish our goal.

arch

A diagram showing the architecture of our project.

As shown in the diagram, we will be hosting our web app with Amazon Web Services. On our AWS server, we will host a NGINX instance within a Docker container. This will serve as our backend and connect all of our other parts together. Our web app frontend will be created using Vue and connected to the NGINX instance. We will be using MariaDB for our database, which will provide information to our frontend via our NGINX instance. Additionally, we will be creating a REST API connected to our NGINX instance that will allow for data export without having to use the web app.
We will also use REST APIs to connect to both the Fitbit server for data gathering and OAuth2 servers so that we can use it for secure logins.