0
Hello, I am creating a solution that has been distributed across multiple projects and that contains resources shared with each other. My solution is developed in general in Nodejs along with other solutions and so far has this structure:
<solution>
| - .gitignore
| - client // ~> app em React UI para browser
| - core // -> artefatos comuns entre todos os projetos
| - server // ~> api
| - database // ~> camada de DAO
| - mobile // ~> app em React Native para mobile
| - desktop // -> app em React Desktop para ser instalado localmente
Each directory will be a specific project (package.json
) having its tests, src and dist. I need to import the package core
in other projects so I can share classes, scripts and other elements. What I need to do to import the core into other packages.
fantastic... that’s exactly what I was thinking of doing... I’m used to working with the "Solutions" that exist in c# projects and I would like to do it with nodejs... it makes development much easier besides a better organization, code control and a shovel of advantages ainds rsrs.
– LeandroLuk