Skip to content

Ontologies and interfaces that work with Solid Pod technology that is designed to store information about personal wellness along several personal wellness dimensions

License

Notifications You must be signed in to change notification settings

jeffreywallphd/HealthHarbor

Repository files navigation

PersonalWellnessPod

A Solid Pod application designed to store information about personal wellness along several personal wellness dimensions. This product is designed to have sections for Medical records, Calorie Tracking, Habit Tracking, Mental Health Chat Bot, Physical Fitness, and Financial Tracking.

No Warranty

This software is provided "as is" without any warranty of any kind, express or implied. This includes, but is not limited to, the warranties of merchantability, fitness for a particular purpose, and non-infringement.

Disclaimer of Liability

The authors and copyright holders of this software disclaim all liability for any damages, including incidental, consequential, special, or indirect damages, arising from the use or inability to use this software.

General Use Disclaimer

The authors of this software are not medical, financial, mental health experts, nor experts along any of the particular wellness directions. This software should not be used to replace expert advice in any of the wellness domains. The information and functionality provided through the software is for research and educational purposes. Seek wellness advice from licensed professionals in the respective wellness domain.

Installation

Prepare to Install

  • Choose an IDE (Integrated development environment)
    • An IDE is a software application that helps programmers develop software code efficiently. It increases developer productivity by combining capabilities such as software editing, building, testing, and packaging in an easy-to-use application
    • Suitable Options: IntelliJ IDEA, Eclipse, VSCode (My Preference)

Install Git on your OS

  • If you have a mac, there's a chance you may already have git installed
    • Run git --version to check
  • If it tells you git is not installed then there are a couple ways to do it.
  • This link goes through the options for mac: https://macpaw.com/how-to/install-git-mac
    • If you have homebrew installed or install it, there are some very simple commands to install git and nodeJS.
  • For non-Mac users, Download Git
  • Create GitHub Account
    • Check that it is downloaded via command prompt/terminal: Run command ‘git --version’
  • Familiarize yourself with basic Git Commands
  • Review the project documentation reguarding branching

Download NodeJS

Pull the project repository from GitHub

  • Click on the code button and copy the URL to clipboard
  • Run ‘git clone https://github.com/jeffreywallphd/PersonalWellnessPod.git’ in your command prompt/terminal or the terminal within your IDE
    • You want to run this command where you would like your project directory to be. You may want to create a folder for all your repositories, or put it in a folder for this class.
  • The package.json file is the central place to configure and describe how to interact with and run your application. This has been set up by the prior class.
  • You should be able to access the file at the very bottom of the directory. This file tells us to run a couple different scripts
  • To start the site:
    • Run ‘npm start-frontend’ to just start the front end
    • Run ‘npm start-backend’ to just start the back end
    • To get the entire site up and running just run ‘npm start’ which runs both of those commands concurrently, most of you will just need to run this.
    • It may ask you to install a couple other things, just run the commands it tells you
  • it will say something like ‘Server running on http://localhost:8080’ and this should automatically open a new tab with the site running

Setting up your Health Harbor account for the first time

  • Click the Login button in the Health Harbor application and it will bring you to an Inrupt PodSpaces page and ask for your username and password.

  • If you have not created an account click Sign Up and enter your information. Make sure you put an email you can access because it will require you to verify your email by clicking a link. Usernames and emails must be unique across all users. Click the verification link in your email and then click continue on the PodSpaces page.

  • Go to https://id.inrupt.com/ and login if necessary. Click the "Get A Pod" button. Your webID profile should now be set up. This step should only need to be completed once each time you set up an account.

Create a .env file to hold sensitive information (ex: API Keys)

  • Run the command 'npm install dotenv --save'
  • Create a '.env' file in the root of the project
  • Add any variables necessary to hold your private keys
    • API_KEY_VAR_EXAMPLE = 'yourAPIKey'
    • Then reference this variable within your code where you fetch the API
    • const apiKey = process.env.API_KEY_VAR_EXAMPLE;
    • fetch(https://APILink&apikey=${apiKey})
      • make sure to use backticks for the link to reference the apiKey variable

Collaboration Practices

Please be sure to read through the Best Coding Practices document before you start collaborating.

As you use git and GitHub to manager your contributions, follow the guidelines outlined in the Git Practices document. Remember to pull from main regularly to avoid code conflicts.

Future Feature Ideas

The following are some ideas for future implementation:

  • Electron implementation to allow for a desktop application.
  • Rechart implementation for data visualization

About

Ontologies and interfaces that work with Solid Pod technology that is designed to store information about personal wellness along several personal wellness dimensions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published