Inspiration

The inspiration for this project came from busy people who don't have enough time to plan their meals if they want to maintain a balanced and healthy life. For this reason, we wanted to create a website application that helps these people by simplifying the meal planning process, giving the users more time to focus on their other responsibilities while still gaining their food goals.

What it does

On the application, the user can input the dishes that they would like to eat throughout the week. After this, a balanced week meal plan will be given with 3 meals per day. All the meal plans will be generated evenly based on their preference and OpenAI by evaluating their meal nutrition. Additionally, if the user does not provide enough dishes to fit the 3 meals a day, 7-day plan, our application will send a request to OpenAI to generate more meals that align with the user's diet.

How we built it

We used HTML, CSS, React for the front, Javascript for the backend, and a Python application to sort out the food in a weekly schedule. In the backend, we send the request to OpenAI API and get the meal plan back.

Challenges we ran into

One major challenge we ran into was connecting the back end with the front end. This created lots of bugs and errors that we ran into. We dependently solved some issues and also inquired specific tech questions from mentors. Additionally, there were errors that occurred with reading specific JSON files. We also had trouble implementing Flask to the CSS file.

Accomplishments that we're proud of

The accomplishments that we made were: merging the frontend to the backend using AXIOS, and using Flask to serve the HTML, CSS, and JavaScript files.

What we learned

We learned how to use Axios to integrate the backend with the front end. We also learned how to use Flask to handle HTTP requests and responses.

What's Next for Healthy Plan

For the future of Healthy Plan, some more advancements include: creating visuals for the meals, creating personalized meals that adhere to the user's dietary preferences, a detailed nutritional analysis of each meal, and recipe suggestions given the user's available ingredients. Some UI/UX and AI advancements include: onboarding screens for new users, more simplified navigation for users, and using AI to track meals.

Share this project:

Updates