Skip to content

Latest commit

 

History

History
100 lines (67 loc) · 2.52 KB

README.md

File metadata and controls

100 lines (67 loc) · 2.52 KB

Preview

HealthChain

Overview

HealthChain is your dedicated AI personal trainer, powered by Hume.ai emotional intelligence technology. It adapts to your feelings and motivations, providing personalized fitness and nutrition plans with the help of Google Gemini's parsing and structured data features. Unlike typical AI trainers that offer generic advice, HealthChain understands when you're unmotivated or stressed, offering timely encouragement to keep you on track.

Authors and Acknowledgment

HealthChain was created by Addy, Derek, Joshua, and Steven,.

Project Local Run Instructions

npm install
npm run dev

.env Setup

Make sure to create a .env file and fill it with the stuff from discord

HUME_API_KEY=
HUME_SECRET_KEY=
NEXT_PUBLIC_HUME_CONFIG_ID=

GEMINI_API_KEY=

Project deployment

Click the button below to deploy this example project with Vercel:

Deploy with Vercel

Below are the steps to completing deployment:

  1. Create a Git Repository for your project.
  2. Provide the required environment variables. To get your API key and Client Secret key, log into the portal and visit the API keys page.

Deployment Bug Commands

# if node version if out of date
nvm install node

corepack enable pnpm     

pnpm install
# or
pnpm install --no-frozen-lockfile

Support

If you have questions, require assistance, or wish to engage in discussions pertaining to this starter template, please reach out to us on Discord.

Setting Up the Backend

To set up the backend, follow these steps:

  1. Create a Virtual Environment:
python3 -m venv venv
  1. Activate the Virtual Environment:
  • On macOS and Linux:
    source venv/bin/activate
  • On Windows:
    .\venv\Scripts\activate
  1. Navigate to the Backend Source Directory:
cd backend/src
  1. Install dependencies
  pip install -r requirements.txt
  1. Run the Backend Application:
python main.py

This will start the backend server, and it should be running and ready to handle requests.