Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 1.16 KB

README.md

File metadata and controls

34 lines (20 loc) · 1.16 KB

StockGameAngular

This project was generated with Angular CLI version 9.1.8.

Task

See TE_-_Stock_Game.pdf file.

Development server

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.

Build

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.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Docker

  • 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`