Skip to content

phongo1/NutriFit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 

Repository files navigation

NutriFit

NutriFit is a health and wellness app focused on helping users make smarter dietary choices. It provides an intuitive way to compare nutrition labels and break down macronutrients between branded food items. NutriFit makes finding food products that most optimize your dietary goals .

DEMO:

Youtube Demo

DEPOST Link:

Devpost

Features

  • Nutrition comparison between branded food items
  • Macronutrient breakdown (calories, protein, carbs, fats, etc.)
  • Fast and accurate search functionality
  • Ranked list of products based off nutritional value for your health goal (cutting, bulking, keto, diabetic)

Tech Stack

  • Frontend: React / Vite with Tailwind CSS
  • Backend: Node.js + Express
  • Database: MongoDB Atlas
  • APIs: Nutritionix API, Kroger Product API

Getting Started

  1. Clone the repository:
git clone https://github.com/your-username/Nutrifit.git
cd Nutrifit
  1. Install dependencies:
npm install
  1. Add a .env file to the 'backend' directory root with your configuration:
KROGER_CLIENT_ID = 'xxx'
KROGER_CLIENT_SECRET = 'xxx'
KROGER_REDIRECT_URI='http://localhost:3000/callback'
KROGER_SCOPE='product.compact'
KROGER_OAUTH_URL='https://api.kroger.com/v1/connect/oauth2'

NUTRITIONIX_APP_ID = 'xxx'
NUTRITIONIX_API_KEY = 'xxx'
NUTRITIONIX_URL = 'https://trackapi.nutritionix.com/v2/search/item/?upc='

PORT = 3636
NODE_ENV = 'development'

MONGO_USERNAME='xxx'
MONGO_PASSWORD='xxx'

MONGO_CONNECTION_STRING = 'xxx'
  1. Start the React project
cd NutriFit
npm run start
  1. Start the Express server
cd ..
cd backend
npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages