Skip to content

Commit 029b565

Browse files
georgeglarsonclaude
andcommitted
Add design note explaining why the dashboard lives under RestaurantReviews/
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b451c30 commit 029b565

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

RestaurantReviews/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ src/
7979
└── __tests__/ # Component + integration tests
8080
```
8181

82+
## Design Note
83+
84+
This directory started as the RestaurantReviews exercise, but as the unified dashboard took shape — integrating all 5 other exercises as live, interactive panels — it grew into the application shell for the entire project. If starting from scratch, the React app and Express server would live at the repository root. The current structure is retained because renaming mid-project carries more risk than benefit, and the history tells an honest story.
85+
8286
## Things To Consider
8387

8488
- **SRP**: Models handle data access only. Routes handle HTTP concerns. Shared validation helpers (`routes/validate.ts`) eliminate duplication across entity routes. The subprocess runner is a generic utility shared by all exercise endpoints.

0 commit comments

Comments
 (0)