Inspiration: 2 of our members work at starbucks and work out, so we decided on an idea that combines those aspects. This project would allow us and others to track the macros from custom starbucks drinks since they usually aren't disclosed.

What it does: The user can input from a list of starbucks drink ingredients and toppings to determine the amount of grams in their custom starbucks drink.

How we built it: First we created a list of all the possible starbucks toppings and transferred them into a java file. These hold the nutritional value of each ingredient per ounce. There are functions that can add, subtract, and multiply the values in the drink depending on the selected incredients, size, and toppings. The website we created is a rundown of the functions of the program, but the user will have to input their drink choices in the java runtime environment.

Challenges we ran into: We tried to use an sql database to store the data for each item, but were unsure of how to access the data with our java code. Another challenge was finding a way to make the website interact with the code, but we ran out of time to integrate them so the website is just an explanation of how the program works.

Accomplishments that we're proud of: We were able to create a working equation for our code as well as link each item to an ID, reducing the amount of total code needed.

What we learned: Problem-solving, website building, assigning IDs to objects in java, formulas to calculate nutritional value.

What's next for Counting Stars: in the future this project may expand to make premade drinks available as well as expand to other popular fast food restaurants.

Built With

Share this project:

Updates