This project shows several core features of Angular including:
- Components
- Data Binding
- Communication between components
- Services
- Routing
Run and edit the app on Stackblitz
-
Install the Angular CLI
npm install -g @angular/cli -
Run
npm install -
Run
ng serve -o
-
Install the Angular CLI
npm install -g @angular/cli -
Run
npm install -
Build the project
ng build -
Run
docker-compose build -
Run
docker-compose up -
Visit
http://localhost
If you'd like to run the production version run docker-compose -f docker-compose.prod.yml [build | up]. This uses a multi-stage Docker build process to create the nginx image for the Angular app.