solid-node-structure

1.0.5 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i solid-node-structure

Weekly Downloads

6

Version

1.0.5

License

ISC

Unpacked Size

12.3 kB

Total Files

11

Last publish

Collaborators

  • bismarck.dev