docs: define recipe creation target architecture#1094
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a draft architecture spec for evolving recipe creation from the current minimal model into a full aggregate with ownership, sharing, publication, search, and richer display data. The document inventories the current frontend/API/database state, proposes a target domain model with new entities (MenuUser, RecipeStep, RecipeShare, RecipePublication, RecipeSearchIndex), and outlines the changes required across each layer. It is docs-only and does not change any code.
Changes:
- New target architecture spec covering data model, search via SQL Server full-text, and access/publication model.
- Documents required frontend, API, and database changes plus naming decisions and rejected alternatives.
- Includes mermaid ERD and flow diagrams to illustrate the proposed structure.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
dgee2
commented
May 27, 2026
dgee2
commented
May 27, 2026
dgee2
commented
May 27, 2026
dgee2
commented
May 27, 2026
dgee2
commented
May 27, 2026
dgee2
commented
May 27, 2026
dgee2
commented
May 27, 2026
dgee2
commented
May 27, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
dgee2
commented
May 27, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Why
The Menu app can currently create only a minimal recipe with a name and ingredient links, which is not enough for real recipe authoring, search, sharing, or public display. This spec documents a target architecture so future implementation work can extend the existing stack coherently across the frontend, API, and database.
Summary
This PR adds a detailed architecture spec for recipe creation and lifecycle management in
docs/specs/recipe-creation-target-architecture.md.It covers:
Key decisions
MenuUserand make recipe ownership explicit.RecipeSearchIndexand use SQL Server full-text search first instead of introducing an external search service.Notes for reviewers