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

[CHE-50]Che 50 Set Up Back End SDK And APIs For Images #58

Conversation

brok3turtl3
Copy link
Contributor

@brok3turtl3 brok3turtl3 commented Apr 1, 2024

Description

This ticket is part of CHE-2 Create Profile Page story and contains the following changes:

  1. AWS SDK installed to utilize S3 APIs
  2. Multer installed to work with multipart/form-data
  3. Created imageRoutes and imageController for image upload
  4. Updated profileController getProfileById to generate presignedURL for S3 image retrieval on front end
  5. Updated editprofilePage to facilitate image upload and display of a profile pic
  6. Updated userProfileSlice for Redux management

Note: This ticket will require an image update to include the new dependencies for multer and aws-sdk libraries

Jira Task

CHE-50
This Ticket also completes: CHE-51

Testing Instructions

Checklist

  • I added a descriptive title to this PR.
  • I filled out the Description, Jira Task, and Testing Instructions sections above.
  • I added or updated [Jest unit tests]for any changes to components, server-side controllers, etc.
  • I ran npm run docker-test in my local environment to check that this PR passes all unit tests.
  • I did a quick check to make sure my code changes follow the recomended style guide.

Additional Notes, Images, etc.

N/A

@brok3turtl3 brok3turtl3 self-assigned this Apr 1, 2024
@brok3turtl3 brok3turtl3 added the enhancement New feature or request label Apr 1, 2024
@brok3turtl3 brok3turtl3 marked this pull request as ready for review April 3, 2024 12:22
@brok3turtl3 brok3turtl3 merged commit 817ae2e into CHE-2/story/Create-Profile-Page Apr 3, 2024
1 check passed
@brok3turtl3 brok3turtl3 deleted the CHE-50/subtask/Set-Up-Back-End-SDK-And-APIs-For-Images branch April 3, 2024 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant