We were concerned about the diets of pregnant women, since it could drastically affect the child's development if the mother does not eat healthy food. We want pregnant women to be able to eat healthy while still being able to enjoy the food that they crave.
Cravely takes a food that you think might be unhealthy, like fast foods, and gives better alternatives along with the macronutrients and recipe.
We built it using javascript. We first started with figuring out how to find the better alternative food that the user inputs. We then added several other functionalities, like dietary restrictions, google map to places that sell healthier alternatives and the ability to save desired recipes.
A challenge we ran into is when we were debating between using a large database of foods or using a llm api to find the better alternative. Thankfully, HackDécouverte provided us with 50% of Claude token.
An accomplishment that we're proud of is that we implemented an ai api that reads an input and generates a nutrition table and recipe. This was one of our primary goals and area of interest when we decided to participate in this hackathon.
We learned how to use Claude code, how to use an api key, how to save and remember user input. We learned how to use Vite to host the server.
Ideally, we would like to have an api of google maps integrated in the web app.
Built With
- anthropic
- css
- html
- javascript
- node.js
- react
- vite