DEVYC is a cli
to quickly start new projects, currently it only allows to create a set of folders and files with a clean architecture
based design pattern using express
but soon it will allow to use both mvc
and mvvm
, which are currently widely used.
The above is only for the server side, we are working to extend this tool also for client side patterns with the most used tools, (
React
,Vue
,Angular
, etc).
npm install -g devyc
devyc init
Or to start the project with default values:
npm devyc init -y
A file named devy.json
will be created in the directory with the following structure:
{
"type": "express",
"dir": "./",
"architecture": "clean",
"typescript": true,
"modules": []
}
We can manually add project modules directly in the "modules" property.
{
"modules": [
"person",
"career",
"other"
]
}
Or use
npm devyc add
&&
? What is the name of the module? "moduleName"
The differences between using
devyc add
or manually adding the module in thedevy.json
is that if you add it manually you will have to use thedevyc create
command to create the folders and files of the modules that have been added manually.