Self-taught software developer (he/him)
Caddy is great, I’ve been using it for all greenfield projects.
P. S. Have you checked out the Caddy API?
Back in the day, we used to have “post2host” forums, where you could get VPS servers for free just by being active in the forum. That’s where I cut my teeth on Linux!
Without that, 10 years ago, I would not have my career today. I am thankful.
This! Selfhosting your own small apps is the best way to get practical, hands on experience with Linux administration.
Hello. Appreciate your question. I think that this is a good use case for the Repository Pattern.
In your case, this might look something like this:
You can consult the Design Patterns / Gang of Four book for more details
Off topic, but personally I don’t feel you should worry too much about having to change the database in the future. I have rarely seen it happen in my career.