rstrom1763 / Client-Photos

1 stars 1 forks source link

Support both AWS and self-hosted options #25

Open rstrom1763 opened 1 year ago

rstrom1763 commented 1 year ago

As of right now, the system only supports AWS based DynamoDB and S3 for the database and storage options. I would like there to be a completely self-hosted option. This will be a nice way for people to save some money if they are tech savvy, and also give me a good reason to explore more technologies and system design principles.

rstrom1763 commented 1 year ago

The current idea is to have some options in the .env file that will specify which technology you are using. This way you can mix and match if you would like to.

rstrom1763 commented 1 year ago

For the database I am debating between MongoDB and MySQL. MySQL for the prospect of learning relational databases, but MongoDB for the fact that it is much closer to how DynamoDB works being a NoSQL type database. I think that with how the data is structured, it won't necessarily matter NoSQL vs SQL. We shall see.