The HACKAFAKE Dashboard is a webapp that consumes the HACKAFAKE web API and displays information from the collected data.
Install Angular Development Environment as explained at https://angular.io/guide/quickstart
-
Install Node.js and npm if they are not already on your machine. Verify the correct installation with the following commands:
node --version npm --version
-
Install Angular CLI
sudo npm install -g @angular/cli
Type ng serve
for running a development server.
Navigate to http://localhost:4200/.
The app will automatically reload if you change any of the source files.
Type ng generate component component-name
to generate a new component.
You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Type ng build
to build the project.
The build artifacts will be stored in the dist/
directory.
Use the -prod
flag for a production build.
Type ng test
to execute the unit tests via Karma.
Type ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.