Build & Serve
Compile Angular & NestJS and serve them via a URL
Angular
Build & server Angular in Development mode
Navigate to Angular folder
$ cd /var/www/dev.nesula.com/nesula/angular-appInstall Packages for Angular
$ npm installBuild & Serve Angular in Development Mode
$ npm run start:devNestJS
Build and serve NestSJ in development mode
Navigate to NestSJ folder
$ cd /var/www/dev.nesula.com/nesula/nest-apiInstall Paclages for NestJS
$ npm installBuild & Serve NestJS in Development Mode
$ npm run start:devNesula
In the documentation above we have started Angular & NestJS and they are accesable via several URLs:
Framework
Server
URL
Angular
Ng serve
http://localhost:4200
NestJS
Node.js
http://localhost:3001
NestJS
Nginx --> Node.js
https://dev.nesula.com
NestJS is available by its localhost address and the domain configured inthe Nginx .conf
Angular is available via localhost for debugging and would not be used in production
Last updated
Was this helpful?
