Caloreats: Personalized Daily Calorie and Meal Planning

Classified in Computers

Written on in English with a size of 2.48 KB

Caloreats

Functionality

The goal of Caloreats is to help users control their daily calorie intake. With an intuitive menu, users can select their preferred diet (e.g., gluten-free, vegetarian, vegan) and their daily calorie target. The app then generates a personalized meal plan for the day, including breakfast, lunch, and dinner, complete with detailed nutritional information.

All recipes are provided by the Spoonacular API, which features over 2,600 ingredients and 360,000 recipes. Each recipe includes pricing, health information, nutritional analysis, images, and cooking tips.

Navigation

Upon launching the app, users are directed to the login page, which supports email or Google account authentication. Once logged in, the user is taken to the calendar screen. In the calendar, users can add notes or schedule activities for each day. Each day features a "plus" button to add a meal; selecting this prompts the user to input their calorie and diet preferences. Clicking on a recipe links directly to the Spoonacular page for detailed information.

Organization & Classes

main.dart: This is where the main thread begins. It displays a splash screen while connecting to Firebase servers. Once connected, the login page is shown. Upon successful authentication, the calendar page appears. From the calendar, users can write notes or press the "plus" button to navigate to the search screen. After entering search parameters, the app directs the user to the meals screen, where selecting breakfast, lunch, or dinner displays the specific recipe.

External Sources

The development of this application utilized the following external resources:

Related entries: