How to structure a large API REST (or application) that contains around 50 files ?
**By type like this : **
Controller
---- Module1
---- Module2
Models
---- Module1
---- Module2
**or by feature like this : **
Module1
---- Controller
---- Models
Module2
---- Controller
---- Models