Похожие чаты

I have a NodeJS/Express best practice question. What should be in

/models and what should be in /controllers folder?

Should SQL query be in /models? Or, is it better to separate any SQL queries into another folder, say repository and leave business logic (CRUD + API calls) in controllers?

1 ответов

11 просмотров

the model should handle talking to the database

Похожие вопросы

Обсуждают сегодня

Карта сайта