USACE / instrumentation

Instrumentation project issue tracking and project planning
MIT License
5 stars 1 forks source link

Scalable Project Image Storage (Avoid Images Stored in Source Control) #9

Closed brettpalmberg closed 3 years ago

brettpalmberg commented 3 years ago

Reminder issue to remove project images from the user interface source repository. Need to implement image storage solution on the API first as application moves beyond MVP/proof-of-concept stage.

KevinJJackson commented 3 years ago

It should be feasible to store images in an S3 bucket, then the api can just return the url to access it with the bucket and folder they are stored in, or we hardcode those as env vars and the api can just return the file name.

something like this would be the end product

https://s3.amazonaws.com/bucketname/foldername/imagename.jpg