Caddy is great, I’ve been using it for all greenfield projects.
P. S. Have you checked out the Caddy API?
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?
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.