-
Clone the project
-
Open terminal in the project and start JSON server
json-server --watch db.json
-
Open another terminal in same project and run the application
npm run dev:ssr
-
Go to http://localhost:4200 to browse the application
-
Build the application, use
sudo
if necessaryng build --configuration=dev && ng run pdts:server
-
Build Docker images
docker build -t angular_ssr_docker .
-
Run the image
docker run -p 4000:4000 angular_ssr_docker
-
Go to http://localhost:4000 to browse the application