Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

research how to store images in DB #165

Open
ryanhu021 opened this issue Feb 16, 2023 · 1 comment
Open

research how to store images in DB #165

ryanhu021 opened this issue Feb 16, 2023 · 1 comment
Assignees

Comments

@ryanhu021
Copy link
Collaborator

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.

@joieng1
Copy link
Contributor

joieng1 commented Feb 22, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants