hack4impact-calpoly/the-land-conservancy

research how to store images in DB

Opened this issue · 1 comments

The log hours and rewards pages would be more descriptive if the user is able to upload an image. MongoDB is able to store images as encoded strings, but it isn't recommended since MongoDB documents aren't designed to handle such large chunks of data. One popular method is to store images in AWS S3 and then link to them from MongoDB. If you're going with this method, research how to automate this so that the user can drag and drop an image and the necessary links would be made in MongoDB and AWS.

Still in progress, but all research will be documented here: