kscalelabs / store

K-Scale Labs store
https://kscale.store
MIT License
25 stars 24 forks source link

Show images to users #227

Closed codekansas closed 1 month ago

codekansas commented 1 month ago
kirtanchandak commented 1 month ago

hey, can I take this task?

codekansas commented 1 month ago

sure!

kirtanchandak commented 1 month ago

Where do we need to host the images, when we are creating a listing?

kirtanchandak commented 1 month ago

Where do we need to host the images, when we are creating a listing?

I am planning to use AWS bucket and pre-signed URLs architecture for image uploading. Good approach or do you have any specific recommendations?

codekansas commented 1 month ago

We're hosting the images on AWS in S3 with a Cloudfront bucket in front of them - there's some config stuff that points to the correct locations in dev and prod. Specifically, images are hosted on media.robolist.xyz

kirtanchandak commented 1 month ago

We're hosting the images on AWS in S3 with a Cloudfront bucket in front of them - there's some config stuff that points to the correct locations in dev and prod. Specifically, images are hosted on media.robolist.xyz

is there a endpoint to upload images in the codebase or do I need to make it?