Skip to content

Latest commit

 

History

History
62 lines (47 loc) · 1.65 KB

README.md

File metadata and controls

62 lines (47 loc) · 1.65 KB

C++ My Macros MVP (Model View Presenter)

This is an app that builds recipes and calculates the macros per serving. It was made as part of an exercise to evaluate the various code-assist AI tools on the gen-ai-research team.

Dependencies

Build Notes

virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
conan install . --output-folder=build --build=missing
cd build
. ./conanbuild.sh 
cmake .. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
cmake --build .
. ./deactivate_conanbuild.sh

DB

sqlite3 recipe.sqlite3 < recipe.sql
sqlite3 macro.sqlite3 < macro.sql

Stories

Backlog

* Goal - Create Goal top-level notebook

Completed

* Explorer - Add popularity to Food list
* Explorer - Food/Recipe Search (filter)
* Recipe - Add Build Recipe
* Food - Add Unit ComboBox
* Food - FoodItem Add Food manually
* Food - Update Food manually
* Recipe - Update Recipe
* Food - Delete
* Recipe - Delete
* Daily - Auto-create Today Date DailyFood in Db
* Daily - Add Daily Food
* Macro - 3rd panel macro breakdown
* Food - StaticText for FoodItem. Use FoodItemEdit and FoodItemEditView panels
* Recipe - StaticText for RecipeItem
* Daily - Only create daily row if date is not in future

Running Tests

From the build directory

ctest