Add file management API with local storage backend
- Implement FileHandler with CRUD operations for files/directories - Add FileService with business logic and SHA-256 hashing - Create LocalStorage backend for filesystem persistence - Add database repository with pagination and name uniqueness constraints - Configure max upload size in storage settings - Include comprehensive tests for all layers
This commit is contained in:
@@ -19,6 +19,9 @@ storage:
|
||||
local:
|
||||
path: data/files
|
||||
|
||||
# Max upload file size in bytes. 0 = unlimited
|
||||
max_upload_size: 104857600 # 100 MB
|
||||
|
||||
jwt:
|
||||
secret: change-me-in-production
|
||||
access_ttl: 15m
|
||||
|
||||
Reference in New Issue
Block a user