1.0.5 • Published 3 years ago

solid-node-structure v1.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

About

solid node script is a library that is intended to suggest a structure based on solid principles. With it you'll be able to generate your files quickly and objectively

Installation

npm install solid-node-structure --save-dev

then, you need to create a solid.config.json file at the root of your project, telling the library where to start the useCases structure. Will need contains

{
	"defaultPaths": "src/modules/"
}

Then create a script in your package.json to start the solid-node structure from the terminal. Example:

If you prefer, use the alias sns like this:

"scripts": {
	"sns": "sns",
}

create a module

module=moduleName

exemple:

npm run sns module=feeds

create a repositorie

run repository=moduleName:repositoryName

exemple:

npm run sns repository=feeds:points

create a Model

run model=moduleName:modelName exemple

npm run sns model=feeds:points

create an UseCase

npm run sns usecase=feeds:points

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago