Skip to content
Shuchir Jain edited this page Mar 26, 2022 · 13 revisions

Welcome to MyT1D!

Question 1 - Objectives

With Type 1 Diabetes (T1D), patients must manage their insulin doses by calculating the insulin dosage with the amount of carbs they eat.

This app aims to make that process easier and faster.

MyT1D lets patients input their personalized Insulin to Carb Ratio and Insulin Sensitivity Factor as well as what they eat to calculate doses for them.

Question 2 - Software

The software used for this project is -

  • Visual Studio Code
    • An IDE used for the coding. I used this to edit my code, write wikis, and manage the Github repository.
  • Github
    • Used for version management and history, to roll back changes in case new changes corrupt the page.
    • Project Boards, to help with idea organization and visualizing to-do boards.
    • Wikis, to write the documentation, narrative, and roadmap
  • React Native
    • The javascript framework used for writing mobile applications.
  • Expo
    • The system which manages React Native apps and makes testing and publishing apps easier.
  • AsyncStorage
    • The database used.
  • React Native Autocomplete Dropdown
    • Used for showing the Typeahead component to autofill ingredient names in the insulin editor.
  • The Dexcom API
    • Used to get a patient's Dexcom sugar values to automatically fill it into the equation.
  • React Native Chart Kit
    • A chart kit letting me display the sugar value changes as a graph.
  • Nativebase
    • A react native styling tool that makes styling screens easy.

Question 3 - Project Creation

Contributors

Shuchir Jain

Amount of time spent creating the actual app

4 months


  • This project uses Javascript, to me a new language since I had rarely used it before. Before this project, I had to go over javascript fundamentals, learn basic javascript, and understand different concepts that separated javascript from Python, what I previously used.
  • After I briefly learned Javascript, I needed to learn React Native, the JS framework that powers my application. I had to learn numerous different elements from React Native, and made many test applications to see how it worked. I had never used Expo (the tool that makes React Native bundling and testing easier) before, so I played around with different things testing how they worked.
  • During the process, I had to learn many different React Native elements, such as
    • Drawers
    • Navigation Objects
    • The AsyncStorage Database
    • Screens
    • States
  • All of the styling shown uses the popular pre-made component framework, Nativebase. Styling the screen required me to learn multiple Nativebase elements through the documentation, for example:
    • Buttons
    • Input Elements
    • Switches
    • Forms
  • Aside from these, I had to use the unofficial Dexcom API, which is a service that allows me to get my patient's Dexcom sugar values to automatically fill it into the equation.
    • I also had to learn how to use the React native autocomplete dropdown component to autofill ingredient names in the insulin editor.
    • Finally, I also had to learn how to use the react native chart kit to display the graph of the insulin changes.
  • Resources used to learn these programs -

Question 4 - Templates Used

Not Applicable

Question 5 - Works Cited

Clone this wiki locally