Skip to content

Reactive Spring Boot application for tracking daily food intake.

License

Notifications You must be signed in to change notification settings

murphy1/foodlogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

foodlogger

Reactive Spring Boot application for tracking daily food intake.

Uses the Nutritionix API for Nutritional data and Food data. Powered By Nutritionix.

  • FoodLogger helps you keep track of your nutritional intake

Home

  • Create your own goals and see your progress

Home

  • See what you eat throughout the day

Home

  • Easily search Nutritionix's massive database of foods to find what you eat

Home

Home

  • See whats in your food to maintain a healthier lifestyle

Home

Prerequisites

- MongoDB to store data

- Users will require an API key for Nutritionix. Please see the following:
  https://www.nutritionix.com/business/api

- You will need a Mail Server active to make use of the password reset functionality

How to Run

1) Install an instance of MongoDB

2) Get an API key from Nutritionix
   
   Open the NutritionixServiceImpl and go to line 32

   Here you will need to enter the API keys (I have them set as environment variables)
   private String appId = System.getenv("APP_ID");
   private String appKey = System.getenv("APP_KEY");

3) Open the 'application.properties' file to configure the mail server
   
   spring.mail.host=smtp.gmail.com
   spring.mail.username=
   spring.mail.password=
   spring.mail.port=587
   spring.mail.properties.mail.smtp.auth=true
   spring.mail.properties.mail.smtp.starttls.enable=true

 You are now good to go.

Further Information