Is there a way how to split larger app into modules ? Default directory structure assumes app folder with controller, model etc subfolders. Can we have a multiple app folders or create modules folders under app directroy? Something like:
app
……. /projects
…………./controller
…………/model
……../tasks
…………/controller
……../invoices
Hopefully its clear. Simply make a directory structure for better distinction for particular moduleS .
Thanks ,
David
Join The Discussion! (3 Replies)
Please sign in or sign up for free to join in on the dicussion.
tomgobich
Hi David! Yeah, with AdonisJS you can configure it a ton to your liking, especially the
app
folder. Things inapp
are mostly imported and used in your code, rather than bound directly via AdonisJS, so you can configure the folder structure however you see fit.For inspiration, you might want to check out Romain Lanz's website. The
app
folder is structured very similarly to what you're after.Please sign in or sign up for free to reply
david-marko
thank you a lot …
Please sign in or sign up for free to reply
tomgobich
Anytime, David!!
Please sign in or sign up for free to reply