feat(storage): add IFileStorage + local-disk implementation

Adds IFileStorage abstraction and LocalDiskFileStorage for receipt file storage with path-traversal protection, and registers it in DI. Includes 3 TDD-verified xUnit tests.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Chris Chen
2026-05-29 18:18:28 -07:00
parent ac65c68e18
commit e7bf07c2ad
6 changed files with 119 additions and 0 deletions
+3
View File
@@ -14,5 +14,8 @@
},
"Cors": {
"AllowedOrigins": [ "http://localhost:4200", "https://localhost:4200" ]
},
"Storage": {
"LocalRoot": "App_Data/storage"
}
}