This project was generated with Angular CLI version 9.1.8.
Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.
Run ng test to execute the unit tests via Karma.
Run ng e2e to execute the end-to-end tests via Protractor.
- Build application with prod flag as Stock API has some cors issues with non angular local api calls, solution was to make a copy of api data available locally for this use case. you can find the data at src/assets/local-api-data.json
`ng build --configuration=production`
-
Run docker-compose file
docker-compose up -
Application will be live at http://localhost:80/.