The application is used to render the list oftomato orders in a table which has the name of the provider, number of tomatoes, and the date of the sale. The user provides amount of orders to be retrievd and after clicking Refresh boutton, the orders are populated on the page. If no amount is specified, 3 orders are retrieved and displayed.
- Install NodeJS (version >= 6.9) from here
https://nodejs.org/en/download/. - Install Angular CLI globally by typing
npm install -g @angular/cliin the console. - Clone the project from
https://github.com/ststdimov/TomatoOrdersClientApp - Navigate to the root application directory. Open the console from there and type
npm installto install all needed dependencies.
Run ng serve to build and start the application. Navigate to http://localhost:4200/.
Run ng test to execute the unit tests via Karma.
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.
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.