This project was generated using Nx.
Prerequisites: Docker, Node
- clone git repo
- npm i
- npm run dockers:dev
- npm run db:migrate:dev
- npm run start
- GeneratorName: @nrwl/nest:resource, @nrwl/js:library, @nrwl/next:app
- LibraryName: library name prefixed utils, shared, feature, ui, etc
- RootLibraryDirectory : root directory of the library (e.g. api, web, shared, etc)
- ScopeName : scope:api, scope:web, scope:shared, etc
# Feature lib: nx generate @nrwl/js:library --name=feature-user --directory=api --compiler=swc --buildable --tags "scope:api"
# Nest resource: nx g @nrwl/nest:resource --project=api-feature-user --directory=lib --type="graphql-code-first" --crud --name user
nx generate @nrwl/${GeneratorName} --name=${LibraryName} --directory=${RootLibraryDirectory} --compiler=swc --buildable --tags ${ScopeName}
Run nx graph
to see a diagram of the dependencies of your projects.
Visit the Nx Documentation to learn more.