Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move non business logics code out of services folder #27

Open
edisonzsq opened this issue Mar 16, 2022 · 0 comments
Open

Move non business logics code out of services folder #27

edisonzsq opened this issue Mar 16, 2022 · 0 comments

Comments

@edisonzsq
Copy link

In general, you want to categorize your code so that other developers can easily find the right code in the right place. You can consider moving services/service-logger to a helpers folder. The path may look like groupproject2-book/helpers/logger.helper.js or it can be under groupproject2-book/configs/logger.config.js.

The principle is to categorize your code for easy finding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant