Internmate was a web app built as part of Software Engineering class at CSUF. The demo of this app is a simple social media type application that allows interns from around the same area to communicate with each other.
We need an image upload feature to allow users to upload images and retrieve it for users. Some endpoints we need for this app (this will also be a microservice)
1) Store user uploaded images in a s3 bucket. The bucket folder will be the user_id
2) Profile picture will go to s3://bucket_name/user_id/profile_pics
3) Profile banners will go to s3://bucket_name/user_id/banner
4) Images for the profile s3://bucket_name/user_id/images
Two main routes of this:
1) Upload image to s3 bucket
2) Fetch images for the user baed on their user_id and image type: profile_pics, profile_banner, profile_images
Security Controls in the s3 bucket:
1) S3 Buckets should only be readable and writable by our user. It should not be globally exposed.
We need an image upload feature to allow users to upload images and retrieve it for users. Some endpoints we need for this app (this will also be a microservice)
1) Store user uploaded images in a s3 bucket. The bucket folder will be the user_id 2) Profile picture will go to s3://bucket_name/user_id/profile_pics 3) Profile banners will go to s3://bucket_name/user_id/banner 4) Images for the profile s3://bucket_name/user_id/images
Two main routes of this:
1) Upload image to s3 bucket 2) Fetch images for the user baed on their user_id and image type: profile_pics, profile_banner, profile_images
Security Controls in the s3 bucket:
1) S3 Buckets should only be readable and writable by our user. It should not be globally exposed.