- Explains step by step how to add a NestJs microservice using the Nx mono repo
- Learn Nx with NestJs
-
Summary of set up
en mac, modificar archivo como administrador /etc/hosts en windows Inicio + R abrir %WinDir%\System32\Drivers\Etc, luego modificar archivo hosts como administrador
agregar hosts: 127.0.0.1 mc-v2-mongodb-lynx 127.0.0.1 mc-v2-mongodb-puma 127.0.0.1 mc-v2-mongodb-wolf
-
Configuration
-
Dependencies
-
Database configuration
-
How to run tests
-
Deployment instructions
- To add a new app use the existing package.json script
yarn run add:appnext to the nameapp-name - To add a module use the existing package.json script
yarn run add:mnext to the namemodule-nameand the project flag--projectnext the name of existing project/appapp-name - To add a service use the existing package.json script
yarn run add:snext to the nameservice-nameand the project flag--projectnext the name of existing project/appapp-name - To add a nest library use the existing package.json script
yarn run add:nest:libnext to the namelib-nameand the flag--buildable - To add a general library use the existing package.json script
yarn run add:libnext to the namelib-name - To add a interceptor library use the existing package.json script
yarn run add:inext to the namefolder/interceptor-nameand the project flag--projectnext the name of existing project/appapp-name - To add a guard use the existing package.json script
yarn run add:gnext to the namefolder/guard-nameand the project flag--projectnext the name of existing project/appapp-name
-
Writing tests
-
Code review
-
Other guidelines
- Repo owner or admin
- Other community or team contact