Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Add Photos to animals. #22

Open
smarbos opened this issue Jul 23, 2018 · 0 comments
Open

Add Photos to animals. #22

smarbos opened this issue Jul 23, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@smarbos
Copy link
Contributor

smarbos commented Jul 23, 2018

Animal schema have a photos property, that will contain the path to the uploaded images.
https://github.com/feathersjs/docs/blob/master/guides/advanced/file-uploading.md

The path for this could be something like POST animals/:id/photos
The image should be in the payload, and we need the handler on this route, to save the image in the server and push the path to the corresponding animal photo's array.

@smarbos smarbos added enhancement New feature or request help wanted Extra attention is needed labels Jul 23, 2018
@smarbos smarbos self-assigned this Feb 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant