feat(devex): add a unified just command surface

- Command surface:
  - add a root `Justfile` with namespaced `api`, `ui`, and `release` modules so humans and agents can use the same entrypoints from the repo root
  - add project-local Justfiles for `booklore-api`, `booklore-ui`, and `tools/release` so each area remains self-contained and can still be driven from inside its own directory
  - standardize local developer workflows around `just check`, `just test`, `just api run`, `just ui dev`, `just db-up`, and `just image-build`

- Workflow integration:
  - update the reusable test suite workflow to install `just` and run backend and frontend CI steps through the Justfiles instead of hardcoded shell commands
  - update the semantic-release workflows to install `just` and invoke release tooling via `just release install`, `just release preview`, and `just release run`
  - keep the Docker image publication workflows on the native Docker actions while moving the project-command logic into the canonical command surface

- Documentation:
  - split backend and frontend implementation guidance into `booklore-api/README.md`, `booklore-api/CONTRIBUTING.md`, `booklore-ui/README.md`, and `booklore-ui/CONTRIBUTING.md`
  - simplify the top-level `README.md` and `CONTRIBUTING.md` so they stay focused on overview, policy, and navigation while pointing to component-specific guides for deeper detail
  - align contributor-facing examples on the `just` interface instead of mixing ad hoc Gradle, npm, Docker, and Compose commands

- Developer environment:
  - add `mise.toml` to pin the expected Java and Node toolchain versions for local work
  - switch the development Compose defaults from the old Booklore database values to Grimmory-oriented defaults
  - keep the command layout ready for a future API/UI split without forcing that packaging change yet
This commit is contained in:
James Cox
2026-04-22 17:26:35 -04:00
committed by Zach Yale
parent 6ff7275db8
commit 69d50d4fb5
15 changed files with 590 additions and 126 deletions
+23
View File
@@ -171,6 +171,29 @@ Additional deployment examples:
---
## Developer Surfaces
This repository contains two application projects:
- Backend: [`booklore-api/README.md`](booklore-api/README.md)
- Frontend: [`booklore-ui/README.md`](booklore-ui/README.md)
Contributor workflow, PR policy, and release semantics live in [CONTRIBUTING.md](CONTRIBUTING.md). Component-specific implementation guidance lives in:
- [`booklore-api/CONTRIBUTING.md`](booklore-api/CONTRIBUTING.md)
- [`booklore-ui/CONTRIBUTING.md`](booklore-ui/CONTRIBUTING.md)
The root [`Justfile`](Justfile) is the primary local command surface and mirrors the folder-local `booklore-api/Justfile` and `booklore-ui/Justfile` entrypoints.
```bash
just # Show root + api + ui recipes
just test # Run backend and frontend tests
just api test # Run backend tests only
just ui dev # Start the frontend dev server
```
---
## BookDrop
Drop book files into a watched folder. Grimmory picks them up, pulls metadata, and queues them for your review.