DEV Community

Discussion on: Do you always need to separate services and controllers?

Collapse
 
ccleary00 profile image
Corey Cleary

Yeah, different types of logic, and where that logic goes in your project is a tricky thing to figure out. Especially in the Node.js world, where there aren't a lot of conventions. I cover most of that in another post I wrote. It covers what the different types of logic are, where you should put them in your project (i.e. - controllers vs services), and how you should structure your project.