Skip to content

bethChris/HealthyHoroscopes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Healthy Horoscopes

Healthy Horoscopes is a mental wellness app designed to provide helpful resources for improving state of mind. It utilizes machine learning models to provide affirmation feedback, personalized activity and music recommendations to help improve mental health. Other resources provided in this application are suicide prevention hotline information, campus resources, links to guided meditations, a journal and a daily positive horoscope.

This project was brainstormed, designed and implemented for HackUSU 2024.

Table of Contents

Set Up

Requirements:

You can install some of these via:

$ pip/pip3 install pandas joblib scikit-learn==1.3.1

or

$ pip/pip3 install -r requirements.txt

Installing Dependencies

Starting in the root directory:

$ cd healthyhoroscopes

Install dependencies for the frontend:

$ npm install

Navigate to the backend folder and install dependencies for the backend:

$ cd backend
$ npm install

Additional Files

To run certain parts of this project, you'll need to create the .env files for specifying the ports and API keys. You'll have to source your API keys from:

You'll need 2 .env files, one inside the /backend folder for the Gemini API key and port for the backend server. And then another one inside the /healthyhoroscopes for the Supabase API key and port for the frontend.

Running the Project

This will require dual hosting the backend and the frontend so they can talk to eachother. Open up two terminals, run frontend on one and backend on the other.

Run the backend:

$ cd backend
$ npm run dev

Run the frontend:

(from root directory)

$ npm start

Development

Design Tools

Wireframes

Stack Overview

  • Database: Superbase
  • Frontend: React.js
  • Backend: Express.js (typescript)
  • ML Models: Python w/ Scikit-Learn

Sources

Mental Health Resources

Image Attribution

ML Datasets

The joblibs are already stored for the models in this project so no need to worry about downloading the datasets to run the project. However, if you'd like to see the datasets we chose and run them yourself in our notebooks you can view the datasets at the sources below:

About

Hack USU 2024 Team Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •