https://github.com/miryamW/LeetCode-server/blob/47281d4e4ca8f7fc574bad25aed3e5720177435a/services/question.service.go#L26C1-L27C1
please remove hardcoded strings like database endpoint.
this should be a dynamic value because it can change between production and local development.
best approach is to use environment variables and put local endpoint as default.
you should have some config component that will take care of this and will verify that all required inputs for the server properly exists.
you can also use .dotenv in addition
https://github.com/miryamW/LeetCode-server/blob/47281d4e4ca8f7fc574bad25aed3e5720177435a/services/question.service.go#L26C1-L27C1
please remove hardcoded strings like database endpoint.
this should be a dynamic value because it can change between production and local development.
best approach is to use environment variables and put local endpoint as default.
you should have some config component that will take care of this and will verify that all required inputs for the server properly exists.
you can also use .dotenv in addition