Skip to content

iOS app that tracks my food consumption and allows me to upload what I eat to my website

Notifications You must be signed in to change notification settings

pbitutsky/NutritionTracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NutritionTracker

This is an iOS app that tracks my food consumption and allows me to upload what I eat to my website.

There isn't anything particularly novel about this project. There are lots of apps that allow you to track your caloric intake (like the popular MyFitnessPal). But as far as I know they do not allow developers to access user food log data or export it.

So I made this app which not only saves what I eat, but also publishes it to my website. Check it out: https://paul.bitutsky.com#food

Hopefully, knowing that people can see what I eat will motivate me to eat healthier foods. 🙃

Demo Pic 1

Demo Pic 2

Demo Pic 3

Demo Pic 4

Demo Pic 5

The real reason for this project, however, was for me to learn Swift 4 and SwiftUI. Special thanks to the iOS course on raywenderlich.com.

This app uses the Nutritionix API to get nutritional information (such as calories) on foods that the user inputs. The pictures also come from Nutritionix.

Since I am the only intended user of the app, I have not published it on the app store. But if you'd like to try it out, just add the file NutritionTracker/Helpers/Secrets.swift and set the constants NUTRITIONIX_APP_ID and NUTRITIONIX_APP_KEY. You'll also need to modify the code in NutritionTracker/Helpers/Upload.swift so that it published the food data not to my site, but to yours instead.

About

iOS app that tracks my food consumption and allows me to upload what I eat to my website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages