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

Business logic in controllers #8

Open
garyscetbon opened this issue Jul 6, 2021 · 1 comment
Open

Business logic in controllers #8

garyscetbon opened this issue Jul 6, 2021 · 1 comment

Comments

@garyscetbon
Copy link

I'm trying to figure out the best nodejs architecture for building APIs, and I see here that in the provided example, the controllers handle the business logic instead of using service layers. Is there a reason for that?

@SuperManEver
Copy link

@garyscetbon I think you are right and this should be done differently. It feels like a code smell. I should say this is not the only problem with this app.

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

2 participants