Allow to serve multiple applications at once
See original GitHub issue- I am running the latest version
- I checked the documentation and found no answer
- I checked to make sure that this issue has not already been filed
- I’m reporting the issue to the correct repository (not related to Angular, AngularCLI or any dependency)
Expected Behavior
Not easy to work with backend + frontend together when backend is build as microservice. And if you use Angular Console you can’t run more than 5 project together.
Current Behavior
At my company we currently working with backend as microservice architecture managed by Lernajs. Working fine but looking for moving to Nr to be able to have a better code sharing without npm publishing.
We have multiple backend service (express) and frontend application (angular), we want to run together some of our backend service with one of our frontend application.
I’ve try many thing to run multiples application front/backend with only once commande and the only solution have find is using concurrently
to run multiple ng serve <project-name>
together but when you have more than 10 project to run, it does not work anymore because it uses too much system
It will be nice to have a better solution for very large entreprise applications architecture
Issue Analytics
- State:
- Created 4 years ago
- Comments:6
@FazioNico the best option would be to define a custom target that serves a collection of microservices together. You can do it as follows in your
angular.json
:@numerical25 I just tried out the proposed solution and it works fine in my Angular 8/Nest project. I just executed
ng run <application-name>:serve-with-services