I'm migrating an Application from Grails to Play Framework and i'm currently trying to figure out what's the best way of organizing the project structure.
I want to use Slick Codegen alongside with Flyway for Migrations, cause i want to keep a track of all the migrations that are being done (a solution similar to Rails Migrations would be perfect).
I see that Play Framework has the Play-Slick module but from what i've noticed, everything just happens like pure black-magic.
I saw an example on GitHub where Slick Modelling, Play Framework and Flyway Migrations are 3 separate SBT Modules, which makes perfect sense in case we ever want to move away from Play Framework.
Now, my questions is: What's the best architecture approach for a Play Framework App?
Note: I'm a newbie in Play Framework and Scala.