All projects 07 of 08

CookYourBooks

// Desktop recipe manager with PDF export

Kind
Coursework
Year
2026
Status
Course project, April 2026

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
The finished library screen in dark mode, with a collections list beside the recipes of the selected collection.
01

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.

02

Design

A whiteboard photo of the final wireframes: library, cookbook, recipe, editor and import screens joined by arrows.
A whiteboard sketch of the planned 'Grilled' stats feature, with calorie charts, a favourite-cuisine pie chart and a public recipe browser.
Hand-drawn wireframes of the library view, a collection's recipe list, and the new collection and new recipe forms.
Purple hand-drawn wireframes of the recipe page and the edit page, with reorderable ingredient and step lists.
Hand-drawn wireframes for 'What can I make' ingredient search, the cookbook keyword search and the collections filter.
Six sketched import screens: entry, image selected, processing, review, success and error states.
03

The built app

The finished recipe editor in dark mode with title, servings and times fields and a reorderable ingredient list.
The finished search and filter screen in dark mode, with ingredient and collection filters and a results list.
The finished recipe view in dark mode for a guacamole recipe, with Export PDF and Edit buttons.
04

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.

05

PDF export

The recipe view in light mode with the Export PDF button next to Edit, shown on a Mapo Tofu recipe.
06

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.