Convert adonisJS folder design to DDD Domain-Driven Design
Let's start by installing the package in our project.
Yarn:
yarn add adonis-to-ddd
NPM:
npm install adonis-to-ddd
You can configure the project by running the following command:
node ace invoke adonis-to-ddd
You can configure the .adonisrc.json by running the following command:
node ace ddd:config
You can revert configuration .adonisrc.json by running the following command:
node ace ddd:config-revert
You can move files to DDD recommendaded paths by running the following command:
node ace ddd:move
You can revert moves files to AdonisJS default paths by running the following command:
node ace ddd:move-revert