Skip to content
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

Implement Image Upload -- api/card/image #30

Closed
6 tasks done
waltervan00 opened this issue Aug 24, 2021 · 0 comments
Closed
6 tasks done

Implement Image Upload -- api/card/image #30

waltervan00 opened this issue Aug 24, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed size 7
Milestone

Comments

@waltervan00
Copy link
Collaborator

waltervan00 commented Aug 24, 2021

Images of the business cards can be uploaded for each card stored. This functionality needs to be researched.
It has been decided that the backend will enforce a size limit of 1MB, and that the front end is to offer resizing capabilities for this purpose. Atlas cluster has 512MB size limit. This endpoint acts independently from card CRUD operations.

http://expressjs.com/en/4x/api.html#res.send outlines how files can be sent back to the client.
https://www.npmjs.com/package/mime library offers MIME support for node.

  • Research how images can be stored on the database
  • Decide on whether to allow size limit, compress, or use GridFS
  • Edit schema to fit needs.
  • Defining API in documentation

  • implement endpoint in back end for POST
  • implement endpoint in back end for GET
@waltervan00 waltervan00 added enhancement New feature or request help wanted Extra attention is needed labels Aug 24, 2021
@waltervan00 waltervan00 added this to the Sprint 1 milestone Aug 24, 2021
@waltervan00 waltervan00 added this to To do in Sprint 1 via automation Aug 24, 2021
@shangzhel shangzhel added this to Sprint 1 in Product backlog Aug 24, 2021
@waltervan00 waltervan00 changed the title Implement Image Upload -- api/card/image Implement Image Upload -- api/card/image : Size 7 Aug 24, 2021
@chomosuke chomosuke self-assigned this Aug 24, 2021
@chomosuke chomosuke moved this from To do to In progress in Sprint 1 Aug 24, 2021
@chomosuke chomosuke removed the help wanted Extra attention is needed label Aug 24, 2021
@waltervan00 waltervan00 added the help wanted Extra attention is needed label Aug 25, 2021
@shangzhel shangzhel changed the title Implement Image Upload -- api/card/image : Size 7 Implement Image Upload -- api/card/image Aug 25, 2021
@chomosuke chomosuke moved this from In progress to In review in Sprint 1 Aug 29, 2021
This was referenced Aug 30, 2021
Sprint 1 automation moved this from In review to Done Aug 30, 2021
Product backlog automation moved this from Sprint 1 to Sprint 1 Done Aug 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed size 7
Projects
Product backlog
  
Sprint 1 Done
Sprint 1
  
Done
Development

No branches or pull requests

3 participants