-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Abstract image file access #65
Comments
Hi @matheusgomes28 , this issue seems interesting to work However, I have some questions here:
|
Hey @rafiramadhana , thanks for your interest in this task ! Yes, it does depend on that task as the get endpoint for the images need to be merged in for us to abstract it. It should be merged as soon as the suggestions in the PR are fixed 😄 |
Got it. So, let's wait until #64 get merged. |
#64 is now merged FYI |
@matheusgomes28 Hi, I've just skimmed through the codebase, let's assume we will name our interface as
ADMIN
NON-ADMIN
Wdyt? |
This has been implemented as a simply static serve to an image directory. I also apologise for never replying to your message, I probably forgot to 😢 |
Make the access to the image files happen through an interface. This would make testing the actual business logic of the image endpoints a little easier, so we don't rely on the file system.
For e2e tests, we can still use the filesystem!
This is similar to the
Database
interface we have, but for the images.The text was updated successfully, but these errors were encountered: