zinoadidi / StockGameAngular

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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`

About


Languages

Language:TypeScript 75.5%Language:HTML 12.8%Language:JavaScript 10.2%Language:CSS 1.5%