All projects 07 of 08
Cook Your Books
// Desktop recipe manager with PDF export
A JavaFX and command-line recipe app built by a team of four for Northeastern CS 3100.
- Stack
- Java, Gradle, JavaFX, JUnit, TestFX
- Team
- Team Grilled, four students
- Course
- Northeastern CS 3100
- My part
- Library view and dark mode: design, code and tests
- My commits in the feature buffet repo
- Dark mode, CI fixes, a PDF export test fix, a Windows launcher

What it is
CookYourBooks is a recipe management desktop app. It has a JavaFX GUI and a command-line mode, a layered structure of model, repository, services and adapters, and JSON persistence. Users organize recipes into collections, import them from images, and search and filter them.
Design






The built app



Feature buffet: dark mode and PDF export
The second assignment added features on top of the first. Two were dark mode and Export to PDF.
Dark mode applies one CSS class to the root pane, so every view follows it, and it remembers the choice between launches using Java's Preferences API. The team chose a manual toggle over following the operating system, because JavaFX's detection of the system setting is limited and inconsistent across platforms.
Export to PDF adds a button to the recipe editor. It writes the title, ingredients and steps with Apache PDFBox, and a confirmation step lets the user rename the file and choose where it goes.
PDF export

What I committed
In the feature buffet repository my commits are the dark mode toggle in the main layout and controller, the dark mode palette in the stylesheet, the DarkMode class and its GUI tests, fixes to the continuous integration workflow, a fix to a PDF export test, and a Windows launcher. A teammate also worked on dark mode, and two others built the PDF export.
The team's project poster credits me with the library view and dark mode. For both, I did the design work, wrote the code and tested it.
Notes
- Known issue from the team's feature summary: PDF export replaces any character outside ASCII with a question mark.
- The first assignment's code was imported into the feature buffet repository in one commit, so the git history there does not show who wrote which part of it.
Credits
- Team Grilled, a team of four, for Northeastern CS 3100.