diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2025-06-11 12:39:28 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2025-06-11 12:39:28 -0400 |
| commit | 6e6b068ae2adc8c5ef8acb633dcadfbdc3221b61 (patch) | |
| tree | 79831028416b0d6934f32961a3fc77d8b004369e /docs/design.md | |
| parent | 1f009e06fd6db82a91536eec88ef3232267385bf (diff) | |
tools/reformat
Diffstat (limited to 'docs/design.md')
| -rw-r--r-- | docs/design.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/design.md b/docs/design.md index 6cd0075..47df384 100644 --- a/docs/design.md +++ b/docs/design.md @@ -4,10 +4,10 @@ As of this writing, the basic flow of most requests hits several subsystems: -* Axum handles parsing and delivering requests to endpoint handlers. -* Endpoint handlers interact with an "app" method (mostly defined in `**/app.rs`) to carry out logic. -* App methods interact with the database through "repo" methods. -* Repo methods access the database, and carry out minor tasks directly adjacent to data access (ID generation being the main example). +- Axum handles parsing and delivering requests to endpoint handlers. +- Endpoint handlers interact with an "app" method (mostly defined in `**/app.rs`) to carry out logic. +- App methods interact with the database through "repo" methods. +- Repo methods access the database, and carry out minor tasks directly adjacent to data access (ID generation being the main example). This approach helps enable testing (see [testing.md] and the implementation of most of the tests), and helps maintain some conceptual separation between what this service does and how each piece individually works. |
