nswalters / AppTrakz-Client

React Client for AppTrakz application for documenting the job application process.
0 stars 0 forks source link

Update profile image storage to a better location (such as S3) #108

Open nswalters opened 3 years ago

nswalters commented 3 years ago

https://help.heroku.com/K1PPS2WM/why-are-my-file-uploads-missing-deleted

When you re-deploy the app, the profile images are no longer stored due to the ephemeral state. Regardless of a deploy cycle, Heroku also cycles the dynos which means no matter what, you'll be losing that static data. Need to either store the images in the database itself, or store and retrieve them from somewhere else, like AWS S3.