Correct way to instantiate a different client per environment?
I have a sst project which I also would like to run locally with a local postgresql connection and without instantiating a new AWS stack for it. This is my current approach, but I don't think it's great since the type of
db
ends up being polymorphic.
What would be the recommended approach here?1 Reply
I am having the some questions.. it seems that everyone uses serverless even for the local development purposes. Have you found any better solution?