- BACKEND:
https://github.com/yeah-right/dia-BEAT-IT-backend
- dia-BEAT-IT is an application that allows me to conglomerate data about my blood sugar (I have type 1 diabetes)
- It will allow me to view trends in metadata and make important and quality of life increases in my day to day life by helping me make informed decisions about my insulin (both basal and bolus as well as my 24 hour active insulin shot) rates as well as better my daily carb intake and more inform proper times throughout the day to exercise without major disruptions to my day.
TL;DR - See trends in bloodsugars, recognize habits/trends, adjust and improve diabetes strategy, management, and hopefully overall health.
- I am a type 1 diabetic, meaning that some malfunctioning homogeneous cell protiens caused an auto-immune response that effects my endocrine horomone regulation systems and leaves me to artifically regulate it myself.
- This has led to my body effectively killing off the beta cells in my pancreas whose responsibility is to produce insulin and maintain healthy blood sugar levels in the normal person.
- Because I am a student at the moment with no income, my insurance is not the best. This technology is included with many insulin pumps and analyzation of data is pretty simple, but because I can only afford single shots of insulin whenever I eat anything. I need a way to conglomerate and analyze my diabetes-data, if you will, in order to mor efficeively increase my bloodsugars, health, and overall quality of living.
- Hopefully I can obtain a software development position soon that will provide me with insurance that is good enough for me to afford an insulin pump, but for the time being this is my best option at efficiently and efficetively maintaining my diabetes and personal health.
- ruby 2.6.1p33
- Rails 5.2.3
- PostgreSQL 11
gem active_model_serializers
(for sendin data over http in strings, added to Gemfile)gem 'pg', '>= 0.18', '< 2.0'
(version of postgreSQL, added to Gemfile)gem 'bcrypt', '~> 3.1.7'
(uncommented in gemfile resulting from create-react-app)gem 'jwt
(json web token for stateless auth)gem 'simple_command
(helps connection between model and controller instead of model/controller and view)
- React 16.8,
npm install react react-router-dom
- Redux 4.0.0,
npm install react-redux redux-thunk
- PostgreSQL 11.3
npm install materialize-css@next uuid lodash @nivo/line @nivo/pie
bundle install
- Need to make sure that the PostgreSQL application is installed and running and then database commands:
rails db:create
rails db:migrate
rails db:seed
(for some dummy data. if you want to make your own records the schema for each sql table is located inside of./db/schema.rb
)
- Inside of your terminal
rails server
will start a local development server located atlocalhost:3000
. - Access rails console and use ActiveRecord locally with
rails console
npm install
npm start
(to start development server)