2 Commits

Author SHA1 Message Date
f5c12ce56d BLOG-78 refactor: rename to_entity methods to into_entity for consistency
All checks were successful
PR Title Check / pr-title-check (pull_request) Successful in 16s
Frontend CI / build (push) Successful in 1m5s
2025-07-27 13:04:22 +08:00
d58a7d1a37 BLOG-78 feat: implement image upload and retrieval feature
All checks were successful
Frontend CI / build (push) Successful in 1m9s
This commit introduces the capability to upload and serve images.

A new `image` feature module has been added to the backend, following the existing clean architecture pattern.

- Implements `POST /image/upload` for uploading image files.
- Implements `GET /image/{id}` for retrieving an image by its ID.
- Adds a new `image` table to the database to store image metadata.
- Image data is stored in the file system. The path can be configured via the `STORAGE_PATH` environment variable.
2025-07-27 11:51:41 +08:00