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-app
Install Packages for Angular
$ npm install
Build & Serve Angular in Development Mode
$ npm run start:dev
NestJS
Build and serve NestSJ in development mode
Navigate to NestSJ folder
$ cd /var/www/dev.nesula.com/nesula/nest-api
Install Paclages for NestJS
$ npm install
Build & Serve NestJS in Development Mode
$ npm run start:dev
Nesula
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?